Jump to content



Recommended Posts

I have a meterpreter shell to a Mark V behind a firewall. I would like to use it to pivot to another box on the network, however I am not sure if the portfwd command is the way to go. It would be nice, for example, to use the portfwd to access an RDP session on a windows box. The pineapple has two interfaces, one wired, one wireless, both are on the local network. I'm using 4444 on the wired interface as the port to call home to the remote network. I have a machine on the local network that is listening on 3389. Anyone have a clear understanding of the portfwd command they could share?

Link to comment
Share on other sites

  • 4 weeks later...

I finally got back to this and figured out where I was going wrong. I have a pineapple at on the protected side of an asa 5505 firewall. It is creating a meterpreter shell to my work station through the firewall. Also on the protected side of the firewall is a Win7 laptop accepting rdp on 3389 at After connecting to the shell the command: "portfwd add -l 1234 -p 3389 -r" creates a forwarded rdp port. The part I was missing is that I needed to start an rdp session to I also created a forward using "portfwd add -l 1235 -p 1471 -r". When I point a browser at get the web interface of the pineapple.

Hope this helps anyone else that is playing with this.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...