Metasploit mailing list archives

Re: Payloads and Pivoting!


From: John Nash <rootsecurityfreak () gmail com>
Date: Tue, 7 Sep 2010 09:24:38 +0530

Thanks for all the replies to my previous email.

Any answers for this one?

I guess, as V cannot reach A directly, it has to hop via P, and hence port
forwarding on P seems to be the only option to make reverse connects work.
Am i right?

Vivek has posted some vids on this in one of the links i sent before ... but
its not very clear .....

someone please clarify ....



On Mon, Sep 6, 2010 at 2:12 PM, John Nash <rootsecurityfreak () gmail com>wrote:

Hello!

Was just trying to exploit hosts further beyond on the network using
Pivoting:

here is how the scenarios looks like:

(A) --------------------------> (P) ----------------------------> (V)

A - Attacker
P- Pivot machine
V - victim I wanna exploit

Now when I use a payload like meterpreter/bind_tcp on V, it works great!
but when I use a Reverse Connect Materpreter payload it does not work as (V)
cannot reach (A) directly.

is the only option here to set a port forward on (P) to have the
reverse_connect work?

Thanks,

JN

p.s late night hacking + metasploit + coffee ....... what could be a better
combo? :)



_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework

Current thread: