> For the complete documentation index, see [llms.txt](https://book.ice-wzl.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.ice-wzl.xyz/tool-guides/torsocks.md).

# torsocks

* On modern kali the shared object is often in a non default location

```
sudo ln -sf /usr/lib/x86_64-linux-gnu/torsocks/libtorsocks.so \                                                     
            /usr/lib/x86_64-linux-gnu/libtorsocks.so
sudo ldconfig
```

* spawn a shell

```
torsocks --shell
curl http://ipinfo.io
```
