# rpivot

<pre><code>cd ~/rpivot
<strong># Attack machine
</strong>python2.7 server.py --proxy-port 9050 --server-port 9999 --server-ip 0.0.0.0

<strong># Pivot machine
</strong><strong># Just transfer the whole directory of rpivot
</strong>scp -r rpivot/ ubuntu@10.129.78.39:/tmp
cd /tmp
python2.7 client.py --server-ip 10.10.14.18 --server-port 9999
</code></pre>

<pre><code><strong># After that you can just use the proxychains
</strong>cd ~/proxychains
./proxychains4 firefox 172.16.5.135:80
./proxychains4 curl 172.16.5.135:80
</code></pre>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kyou00.gitbook.io/xyz/commands/view/linux/port-forward/rpivot.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
