当前位置:网站首页>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
边栏推荐
- Zoom through the mouse wheel
- [course notes] Compilation Principle
- Rustdesk builds its own remote desktop relay server
- 嵌入式面试题(一:进程与线程)
- B站刘二大人-反向传播
- wib3.0 跨越,在跨越(ง •̀_•́)ง
- 入侵检测领域数据集总结
- Database: ODBC remote access SQL Server2008 in oracel
- Arrays and collections
- ArcGIS application foundation 4 thematic map making
猜你喜欢
随机推荐
[paper reading] nflowjs: synthetic negative data intensive anomaly detection based on robust learning
应用安全系列之三十七:日志注入
如何在业务代码中使用 ThinkPHP5.1 封装的容器内反射方法
Station B, Master Liu Er - dataset and data loading
入侵检测领域数据集总结
養了只小猫咪
Arrays and collections
Huawei BFD configuration specification
Is it difficult for an information system project manager?
C language bubble sort
[SQL Server fast track] - authentication and establishment and management of user accounts
B站刘二大人-Softmx分类器及MNIST实现-Lecture 9
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
查询生产订单中某个(些)工作中心对应的标准文本码
Station B, Mr. Liu Er - multiple logistic regression, structure 7
Go language -- language constants
请求转发与重定向
Station B Liu Erden - linear regression and gradient descent
Some easy-to-use tools make your essay style more elegant
What preparations should be made for website server migration?