All tools

Tunneling & Pivoting

socat

Multipurpose relay for bidirectional data transfer (sockets, files, exec).

intermediate
Linux
Post-Exploitation
Lateral Movement

Authorized testing only. Practice on systems you own, isolated labs, or targets with written permission. Unauthorized access is illegal.

When

Port forwards, simple shells, protocol bridging in constrained envs.

How

Chain addresses (TCP, OPENSSL, EXEC); build reverse shells or relays.

Why

Swiss army knife for network plumbing.

Commands & usage

socat TCP-LISTEN:443,reuseaddr,fork EXEC:/bin/bash,pty,stderr
socat TCP-LISTEN:8080,fork TCP:127.0.0.1:80

Commands are educational examples. Adapt hosts, paths, and rates to your authorized scope.

Tags

relay
shells
networking

Related in Tunneling & Pivoting