Pivoting
Tools and Techniques
SSH
# Dynamic ssh-tunnel
ssh -D localhost:9050 -f -N <USER>@<DOMAIN>
# Run commands with proxychains <Command>
# Not all tools are proxy awareMetasploit
Meterpreter> run autoroute -s 172.16.2.0/24
background
use auxiliary/server/socks_proxy
set SRVPORT 9050
run# Forward remote port 22 to localhost port 1337
Meterpreter> portfwd add -r 172.16.2.5 -p 22 -L 127.0.0.1 -l 1337Ligolo-ng
sshuttle
Chisel
Installation
Graftcp
Installation
Usage
Tun2socks
Installation
Usage
Last updated