zacbre/Socks5

Tor communication(Server-Client)

PanagiotisDrakatos opened this issue · 4 comments

can i have a connection to tor between (client-server) program with this library?if yes can i have an example?
I appreciate your project very nice work

Hey stathmarxis,
Yes, it is completely possible to bridge this to tor.
I will see if I can't get you an example in the next few hours.

~Thr

https://github.com/ThrDev/Socks5/tree/master/socks5/Socks5Projects/TorTestSocks

Image of Tor

I've pushed a new folder called "Socks5Projects" - this folder will now be for projects related to things of this fashion.

Anyways, the Tor bridging works perfectly and is only a few lines long.
I will leave this open for a few hours to let you respond. The reason I use the Socks5 server for this project is so you can use something like DataHandler to enjoy the capabilites of modifying or searching for data that was sent/received and doing anything you want with it.

I will be uploading a "Tor Client" later on tonight. This example is just a passthru for Client<->Socks5<->Tor Socks5<->Tor<->Internet

Enjoy!

~ThrDev

what other configurations do i need to run this tor client ? do i need tor.exe??I run the example code(TorTestSocks) and i get error can't connect to tor.I would appreciate a reply in your earliest convenience

You'll need to download the Tor client (https://www.torproject.org/dist/torbrowser/5.0.3/tor-win32-0.2.6.10.zip)
You'll also need to configure it to run on port 9050 as well as a Socks5 server with a username and a password.