Hacking Tricks

How to Block Website Vulnerability Scanner to Scan Your Website

Website Vulnerability Scanner

Hackers uses Website Vulnerability Scanner to scan the website and to find the security vulnerability. And today I am going to share one trick to block all Website Vulnerability Scanner to scan your website. Here I am sharing one script Just add that script in to the .htaccess of your website and it will block all Website Vulnerability Scanner like Acunetix, nessus, Openvas etc.

Website Vulnerability Scanner

RewriteEngine On

<IfModule mod_rewrite.c>
RewriteCond %{HTTP_USER_AGENT} ^w3af.sourceforge.net [NC,OR]
RewriteCond %{HTTP_USER_AGENT} dirbuster [NC,OR]
RewriteCond %{HTTP_USER_AGENT} nikto [NC,OR]
RewriteCond %{HTTP_USER_AGENT} SF [OR]
RewriteCond %{HTTP_USER_AGENT} sqlmap [NC,OR]
RewriteCond %{HTTP_USER_AGENT} fimap [NC,OR]
RewriteCond %{HTTP_USER_AGENT} nessus [NC,OR]
RewriteCond %{HTTP_USER_AGENT} whatweb [NC,OR]
RewriteCond %{HTTP_USER_AGENT} Openvas [NC,OR]
RewriteCond %{HTTP_USER_AGENT} jbrofuzz [NC,OR]
RewriteCond %{HTTP_USER_AGENT} libwhisker [NC,OR]
RewriteCond %{HTTP_USER_AGENT} webshag [NC,OR]
RewriteCond %{HTTP:Acunetix-Product} ^WVS
RewriteRule ^.* [R=301,L]

Just add above code in to the .htaccess of your website and all the security scanners will be blocked.

This tutorial is about How to protect your website from Vulnerability Scanner to find vulnerability in your websites. Hope you like this tutorial, Please share this tutorial with your friends and comment below.


Most Popular

To Top