Metasploit mailing list archives

framwork3 LHOST reverse conn when client behind firewall/router


From: hdm at metasploit.com (H D Moore)
Date: Sun, 1 Oct 2006 11:58:22 -0500

Short answer: its fixed, update.

I changed the reverse connection handlers to always listen on 0.0.0.0. 
Being able to specify the interface address for the listener would be 
useful, but this needs to be implemented as an additional option to 
handle the NAT case. 

-HD

On Sunday 01 October 2006 10:14, pbx tsx wrote:
when i set the LHOST 216.X.X.X  i get somme bind failure from the
handler because my eth ip is 192.168.0.1 .

So i am wondering how to make the handler listen to 0.0.0.0:LPORT but
the shellcode for "reverse shell connection back" to  get stuffed by my
router ip instead of lan ip ? knowing that i set my router to



Current thread: