Skip to content

A JavaScript tool for detecting Tor exit nodes using multiple sources, with no external dependacies or NodeJS

Notifications You must be signed in to change notification settings

dehlirious/tor-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tor Detection Tool

GitHub Stars GitHub Issues

Tor Detector is a versatile JavaScript tool that empowers you to detect Tor exit nodes with ease, as well as identify Canvas Fingerprinting Protection.

Usage

Use the tool to:

  • Identify Tor exit nodes using multiple sources.
  • Test for Canvas Fingerprinting Protection.
  • Check for specific JavaScript behaviors commonly associated with Tor Browser.
  • Enjoy a lightweight and efficient JavaScript codebase.

Functions

The tool includes the following key functions:

  • isTor(ip, data): Checks if the provided IP address is listed in the Tor exit nodes data.
  • hasCanvasFingerprintingProtection: Tests for Canvas Fingerprinting Protection.
  • hasTorJavaScriptBehavior: Checks for rounded values for inner width, inner height, outer width, outer height, and screen width.

Adding Additional Sources

Expand the tool's capabilities with more sources for IP retrieval and Tor detection:

  1. Open the tor.js file in your code editor.
  2. Edit the ipSources and torSources arrays to include your desired sources.
  3. Save the changes.

Contributions

Contributions to this project are welcome! If you have ideas for improvements or additional features, please don't hesitate to fork the repository and create a pull request.


Enjoy using the Tor Detection tool! If you have any questions or encounter any issues, please feel free to open an issue on GitHub.

About

A JavaScript tool for detecting Tor exit nodes using multiple sources, with no external dependacies or NodeJS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published