Metasploit mailing list archives

Re: Backboor with Netcat and Meterpreter


From: Sherif El-Deeb <archeldeeb () gmail com>
Date: Thu, 7 Jul 2011 22:39:30 +0300

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

Current thread: