proxychains
Routes any tool through a SOCKS proxy (pivoting).
Forces any tool through a proxy (usually the SOCKS from ssh -D or chisel), so that nmap, smbclient or netexec reach the internal network through the pivot. With SOCKS proxies only TCP connect scanning (-sT) works.
Family Pivoting & tunnelling
Flags -q
Concepts Local port forwarding (SSH tunnel), Dynamic Port Forwarding (SOCKS)
Cheatsheet proxychains
Installation
sudo apt install -y proxychains4
# configure the socks proxy in /etc/proxychains4.confUseful commands
Appears in
Some machines where its use is documented; not an exhaustive list.
- BigPivotingDockerLabs
- Symfonos 1 & 2VulnHub