This project is a command line application that allows you to run any command line in a tor network.
Note: Only Socks4 proxies supported.
- tor proxy server running locally on port 9050.
Run make
to build the torrify binary and the libtorrify library.
Note: the libtorrify.so library must be in the same directory as the torrify binary.
torrify <command> <...args>
- Run any command with arguments
$ torrify ls -1
connect.c
connect.h
libtorrify.so
makefile
README.md
torrify
torrify.c
- Fetch your ip address using ipify.org without tor proxy.
$ curl "http://api.ipify.org"
102.184.197.136 # dummy ip result without tor
- Fetch your ip address using ipify.org with tor proxy.
$ ./torrify curl "http://api.ipify.org"
188.172.229.15 # dummy ip result with tor