当前位置:网站首页>SQLMAP使用教程(三)实战技巧二
SQLMAP使用教程(三)实战技巧二
2022-07-06 05:48:00 【Aτθ】
一、–technique 使用指定的注入方式
在一些项目中,难免会遇上网络反应缓慢,idc还有检测sqlmap的能力。作为一个专业的渗透测试人员,必须做到快准狠。
有些SQL注入点只允许时间注入,这时指定SQLMAP的注入类型为T
以下是--technique 参数的值的解释:
B:Boolean-basedblindSQLinjection(布尔型注入)
E:Error-basedSQLinjection(报错型注入)
U:UNIONquerySQLinjection(可联合查询注入)
S:StackedqueriesSQLinjection(可多语句查询注入)
T:Time-basedblindSQLinjection(基于时间延迟注入)
Q:InlineSQLInjection(内联注入)
二、使用基于时间的延时注入
sqlmap -u "192.168.1.50/06/vul/sqli/sqli_str.php?name=1&submit=1" --dbms mysql -v 3 -D pikachu --technique=T
支持多种注入检测,默认是全部:
sqlmap -u "192.168.1.50/06/vul/sqli/sqli_str.php?name=1&submit=1" --dbms mysql -v 3 -D pikachu --technique=BEUT


三、设置超时时间
--time-out 这个参数是设置超时时间 有得网页响应比较慢,可以使用这个参数来增大访问超时的时间。默认是30
sqlmap -u "192.168.1.50/06/vul/sqli/sqli_str.php?name=1&submit=1" --dbms mysql -v 3 -D pikachu --timeout=10
四、读取文本进行SQL注入检测
sqlmap -r post.txt



五、指定参数进行注入
-p 指定需要测试的参数
sqlmap -u "http://192.168.0.103/06/vul/sqli/sqli_str.php?name=1&submit=1" -p name --dbms mysql -v 1
使用*进行注入
如果url是伪静态的时 ,可以使用*号表示这是检测的地方;
sqlmap -u "http://192.168.0.103/06/vul/sqli/id/1*./html POST注入 sqlmap -u "http://192.168.0.103/06/vul/sqli/sqli_id.php" --data "id=1&submit=1" -p id -v 1
六、修改默认最大线程
sqlmap/lib/core/settings.py
默认最大线程是10 可以设置线程最大为100
MAX_NUMBER_OF_THREADS = 100

边栏推荐
- Li Chuang EDA learning notes 12: common PCB board layout constraint principles
- Garbage collector with serial, throughput priority and response time priority
- As3013 fire endurance test of cable distribution system
- 養了只小猫咪
- Migrate Infones to stm32
- Application Security Series 37: log injection
- 网站进行服务器迁移前应做好哪些准备?
- [C language syntax] the difference between typedef struct and struct
- continue和break的区别与用法
- Classes and objects (I) detailed explanation of this pointer
猜你喜欢

Analysis of grammar elements in turtle Library

类和对象(一)this指针详解

C language bubble sort

Embedded interview questions (IV. common algorithms)

网站进行服务器迁移前应做好哪些准备?

Practice sharing: how to safely and quickly migrate from CentOS to openeuler
![[untitled]](/img/5d/028b9d19e9a2b217f40198d4631db2.png)
[untitled]

初识数据库

数字经济破浪而来 ,LTD是权益独立的Web3.0网站?
![[Baiwen smart home] first day of the course_ Learn Embedded and understand the development mode of bare metal and RTOS](/img/ed/8d112054f31bd7e593050d1278b9f1.jpg)
[Baiwen smart home] first day of the course_ Learn Embedded and understand the development mode of bare metal and RTOS
随机推荐
ContentType的作用
Construction of yolox based on paste framework
Clear floating mode
Auto. JS learning notes 17: basic listening events and UI simple click event operations
OSPF configuration command of Huawei equipment
Web service connector: Servlet
类和对象(一)this指针详解
Redis6 cluster setup
ArcGIS application foundation 4 thematic map making
Wib3.0 leapfrogging, in leapfrogging (ง • ̀_•́) ง
初识数据库
Zoom through the mouse wheel
Title 1093: character reverse order
Web服务连接器:Servlet
Dynamic programming -- knapsack problem
[Baiwen smart home] first day of the course_ Learn Embedded and understand the development mode of bare metal and RTOS
Sequoiadb Lake warehouse integrated distributed database, June 2022 issue
B站刘二大人-线性回归 Pytorch
Node 之 nvm 下载、安装、使用,以及node 、nrm 的相关使用
Novice entry SCM must understand those things