Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.58 KB

README.md

File metadata and controls

39 lines (24 loc) · 1.58 KB

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.