Skip to main content

How to block Web Security Scanners from Scanning your website

Comments

7 comments

  • 24x7ss
    Hello, Did you mean scanners like sucuri ?
    0
  • cPanelMichael
    Hello, Could you provide a specific example? Also, do you have root access to the system? Thank you.
    0
  • eurion
    Yes how does one block scanners like Sucuri from revealing a list of web pages on a wordpress website?
    0
  • cPanelMichael
    Hello, The following third-party URL should help:
    0
  • BoxGerencia
    A good form of security is to always check if your system is protected against exploit and sql injection. Also you can create a patch of admin folder, for example, and change the name to a different eg system-my-2087 ModSecurity can explore the features and also use a .htaccess with: it blocks many scanners on your website
    ========================================== RewriteEngine On 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] ==========================================
    To block access to a folder and only your ip have permission Order Deny,Allow Deny from all Allow from YOUR_IP
    0
  • eurion
    @cPanelMichael Thanks for the response.........my site has been set to disallow all user agents since it was created but it still shows up on google. @BoxGerencia i'll try out those options.....Thanks
    0
  • cPanelMichael
    @cPanelMichael Thanks for the response.........my site has been set to disallow all user agents since it was created but it still shows up on google.

    Hello, Google offers the following support page if you want your websites removed from their search results:
    0

Please sign in to leave a comment.