Skip to content

5l1v3r1/TorHandler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TorHandler

Tor Handler for C#

TorHandler th = new TorHandler(true, "Tor/tor.exe", 8080);
th.start_httpserver();

WebProxy proxy = new WebProxy("127.0.0.1", 8080);
proxy.UseDefaultCredentials = true;

WebClient webClient = new WebClient();
webClient.Proxy = proxy;

Console.Write(webClient.DownloadString("https://www.youtube.com/"));

Dependencies

  • NET Framework 4.0+

Usage

Following code runs given tor executable and starts tor relay while blocking main thread then wraps it with https proxy listening 8080 port.

TorHandler th = new TorHandler(true, "Tor/tor.exe", 8080);
th.start_httpserver();

About

Tor Handler for C#

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%