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 This week: 1All time: 6,125 This week: 560Up
Version License PHP version Categories
untor 1.0.0GNU Lesser Genera...5Networking, PHP 5, Web services, Secu...
Description 

Author

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: 248635 in Portugal Portugal
Week rank: 416 Up4 in Portugal Portugal Up
Innovation award
Innovation award
Nominee: 1x

Example

<?php
require("untor.class.php");
$tor = new untor();
?>
<!DOCTYPE html>
    <html>
        <head>
            <title>Alright</title>
        </head>
        <body>
            <h1>OK!</h1>
            <p>If you are seeing this page, it means you are not using a TOR proxy.</p>
        </body>
    </html>


Screenshots  
  • 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  
 0%
Total:455
This week:1
All time:6,125
This week:560Up
User Ratings User Comments (1)
 All time
Utility:50%StarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:38%StarStar
Rank:3913