How to Deny TOR user Access your Website

Tor users become risk for our servers as they can implement unethical practice into your website, server wihtout tracing as they are using tor routing.This method will allow you to block major list of tor users to access your website basically, our method will target the exit node and block it.


You will have:

  • Automated generator that do up-to-date tor ip’s
  • Enhance security using our customized .htaccess file
  • Refresh.php file that getting the up-to-date list from “Dan’s” list.

Download

git clone https://github.com/zayedaljaberi/block-tor-users/

installation

- Using FTP, SSH
- Using Cpanel
  • FTP Admin website can upload the files using ftp server of his website
  • Cpanel Admin user can upload the files using the cpanel given by the hosting company.

Usage

1- Upload the our .htaccess file (Make sure you only have one .htaccess) it’s always hidden so check your settings 2- Upload refresh.php file into directories that you the only one can access it (we advice to put it into multiple directories to enhance the security.) Example (www.domain.com/stop/tor/status/refresh.php
Markdown that admin website should visit refresh.php site every 30+ to get his list up-to-date. FYI. admin can create bash file to generate schedule for it.

Demo

Ehacking Staff
With more than 50 global partners, we are proud to count the world’s leading cybersecurity training provider. EH Academy is the brainchild of Ehacking, which has been involved in the field of training since the past Five years and continues to help in creating professional IT experts.

Most Popular

Top 10 things to Do After Installing Kali Linux

Kali Linux is considered to be one of the best hacking distribution of this era, it is developed by Offensive Security to give an...

Become a spy in your own right with Xnspy Android spying app

Having become widely popular among parents and employers, spying apps have become quite the norm nowadays. Android spying apps have made it a lot...

e-Services Portals Potentially Expose Government Infrastructure to File-based Attacks

More and more users are embracing technology to perform their day-to-day activities. It’s not only private businesses that are forced to establish digital channels...

What is Nmap? How to use Nmap for Information Gathering

Nmap stands for Network Mapper, a powerful network scanning and host detection tool that is being used to perform reconnaissance in a very first...