PHP Classes

UnTor: Block users to access from a network using TOR

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 38%Total: 455 All time: 6,128 This week: 524Up
Version License PHP version Categories
untor 1.0.0GNU Lesser Genera...5Networking, PHP 5, Web services, Secu...


This class can block users to access from a network using TOR.

It can check the IP address of the current user against a list of exit node addresses retrieved from the TOR project site.

For users using TOR the class shows a page included from a separate file.

The class caches the discovered TOR exit IP addresses in a file to avoid the overhead of checking the TOR site exit address list.

Innovation Award
PHP Programming Innovation award nominee
June 2017
Number 2

Prize: One downloadable copy of PhpED Professional
The Tor network can route Internet traffic to machines via a networks of servers that encrypt communications and hide the origin of the information that is sent to servers.

The Tor network has been used to hide the identity of criminals that may access sites and abuse of their resources.

Therefore, blocking the access of users that use the Tor network may be one way to inhibit the abuse of sites by criminals and people with bad intentions.

This package can be used to detect and halt the access that of users are using the Tor network with bad intentions.

Manuel Lemos
Picture of Romeu Gamelas
Name: Romeu Gamelas <contact>
Classes: 3 packages by
Country: Portugal Portugal
Age: ???
All time rank: 248735 in Portugal Portugal
Week rank: 305 Up4 in Portugal Portugal Up
Innovation award
Innovation award
Nominee: 1x


$tor = new untor();
<!DOCTYPE html>
            <p>If you are seeing this page, it means you are not using a TOR proxy.</p>

  • effect.png
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example usage
Plain text file untor.class.php Class Main class
Accessible without login HTML file untor.html Data Output for TOR users

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,128
This week:524Up
User Ratings User Comments (1)
 All time