Metasploit mailing list archives

Re: Backboor with Netcat and Meterpreter


From: Abuse007 <abuse007 () gmail com>
Date: Fri, 8 Jul 2011 09:14:26 +1000

If you want to do this once I don't see a difference. If u want to spawn meterpreter multiple times and netcat to 
change the listening port then I see, but I am curious as to the why.

On 08/07/2011, at 5:39 AM, Sherif El-Deeb <archeldeeb () gmail com> wrote:

The -e option redirects stdin & stdout of a program over the network, this is not how meterpreter works.

even though I wish meterpreter's executable accepts arguments "listen port", there is no way yet to do it.

So my solution to what you're after is:
1- create meterpreter_bind_tcp that listens always to a port you specify "4444 in this example"
2- do port redirection using netcat, so let's say you want to connect using port 5555, you type 'nc -l -p 5555 -e "nc 
127.0.0.1 4444"

Hope you got what I mean...
Sherif.

On Jul 7, 2011 5:28 PM, "Rafael Negron" <rnegron13 () comcast net> wrote:
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework

Current thread: