Block Your website from Vulnerability Scanner

Hi webmaster, If you don't want scan your vulnerability by various online scanner then you can block them to protect your site from hacker.
block website from scanner

Because hacker might can use them(Acunetix, nessus, Openvas ETC) to scan your site's vulnerability  and some exploits. SO its important to stop them. But how?? Its very easy to do. Just put some code on your site's .htaccess. I am providing these code. See below-



  1. RewriteEngine On
  2. <IfModule mod_rewrite.c>
  3. RewriteCond %{HTTP_USER_AGENT} ^w3af.sourceforge.net [NC,OR]
  4. RewriteCond %{HTTP_USER_AGENT} dirbuster [NC,OR]
  5. RewriteCond %{HTTP_USER_AGENT} nikto [NC,OR]
  6. RewriteCond %{HTTP_USER_AGENT} SF [OR]
  7. RewriteCond %{HTTP_USER_AGENT} sqlmap [NC,OR]
  8. RewriteCond %{HTTP_USER_AGENT} fimap [NC,OR]
  9. RewriteCond %{HTTP_USER_AGENT} nessus [NC,OR]
  10. RewriteCond %{HTTP_USER_AGENT} whatweb [NC,OR]
  11. RewriteCond %{HTTP_USER_AGENT} Openvas [NC,OR]
  12. RewriteCond %{HTTP_USER_AGENT} jbrofuzz [NC,OR]
  13. RewriteCond %{HTTP_USER_AGENT} libwhisker [NC,OR]
  14. RewriteCond %{HTTP_USER_AGENT} webshag [NC,OR]
  15. RewriteCond %{HTTP:Acunetix-Product} ^WVS
  16. RewriteRule ^.* http://127.0.0.1/ [R=301,L]
  17. </IfModule>


Just put this code on your .htaccess file and save it. So that your website's blocked from these scanner and protected from them.

If you have anyone query about this just drop us a line on comment box. Our team will help you out.

Share on Google Plus

About Unknown

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments :

Post a Comment