Hi here is a simple tutorial to block your website from scanner like Acunetix, nessus, Openvas & other . Just add the below given codes to your .htaccess file .
- 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 ^.* http://127.0.0.1/ [R=301,L]
- </IfModule>
How to Block your website from scanners
Reviewed by Almas Malik
on
14:38
Rating:

No comments: