Skip to content
/ Trou Public

Tor + Privoxy for the best anonymous HTTP proxy implementation on C#

License

Notifications You must be signed in to change notification settings

NaolShow/Trou

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trou

« The best way to use tor and privoxy in C# »

GitHub license

GitHub issues GitHub pull requests GitHub last commit


Join ToWolf server to get latest news about Trou - https://discord.gg/m7CZ6md

Trou is a complete Tor (and Tor Controller) and Privoxy implementation on C# You can use every services separately or combined to have a local anonymous proxy !

You could use Trou with:

  • HttpClients
  • WebClients
  • WebBrowsers
  • (and everything that support HTTP or Socks5 proxy..)

Compatibility

Trou is made using .NET Core 3.1 and it's working currently working on:

  • Windows 8 and higher (you could go up to windows 7, just check the project wiki)

/!\ Linux and Mac OS compatibility is planned /!\

🚀 Quick example


Here's a quick example on how to use Trou. This example is very minimalist, and it doesn't even care about errors/warnings/exceptions..

You can also get this example project

// - Instantiate Trou proxy

TrouProxy proxy = new TrouProxy(new TorProxySettings() {
    TorBundlePath = @"C:\AnyFolder\TorProxy"
}, new TorControllerSettings() {

}, new PrivoxyProxySettings() {
    PrivoxyBundlePath = @"C:\AnyFolder\PrivoxyProxy"
});

// - Start

proxy.Start();

// - Check IP

// Create client connected to Tor using Trou
WebClient client = new WebClient() {
    Proxy = new WebProxy("127.0.0.1:8118")
};

// Write TOR IP address
Console.WriteLine(client.DownloadString("http://api.ipify.org"));

// - Stop
Console.ReadLine();
client.Dispose();
proxy.Dispose();

📚 Documentation


The complete Trou documentation can be found here

❓ Help


If you need help, or if you want to contact me in general, just make a github issue ticket ! You can also contact me on my discord server or in private messages: NaolShow#7243

🔧 Installation


You have two ways to install Trou, the first one is by far the most simplest one:

// With the package manager (Nuget)
PM> Install-Package Trou

// With .NET CLI
dotnet add package Trou

You can also go in your project top bar menu in visual studio > Manage Nuget packages > Search for "Trou" > Install

The second way is to go in the release tab in the github project, and download the last .dll, and then just reference it in your project!

📰 Licence


Distributed under the GNU General Public Licence v3.0. See LICENSE for more information.

About

Tor + Privoxy for the best anonymous HTTP proxy implementation on C#

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages