Pivoting
Metasploit & Sock proxy
Adding Route:
route [add/remove] <subnet><netmask> <session id>Example:
route add 172.17.0.1/32 1Printing route info:
route printSocks Proxy:
use auxiliary/server/socks_proxyrun srvhost=127.0.0.1 srvport=9050 version=4aUsing commands (nmap) via proxy chains:
proxychains -q nmap <MACHINE_IP>
All commands should be executed from background
Last updated