fbpx

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

What Makes ICS/OT Infrastructure Vulnerable?

Infrastructure security for operational technologies (OT) and industrial control systems (ICS) varies from IT security in several ways, with the inverse confidentiality, integrity, and...

Everything You Must Know About IT/OT Convergence

What is an Operational Technology (OT)? Operational technology (OT) is a technology that primarily monitors and controls physical operations. It can automate and control machines,...

Understand the OT Security and Its Importance

This article discusses OT security and why it is essential for protecting industrial systems from cyberattacks. We will also discuss common control objectives that can...

What is Deepfake, and how does it Affect Cybersecurity?

Producing deepfake is easy. It is hard to detect. They operate with a description of reality rather than reality itself (e.g., a video). Any...