• Resolved yaidel

    (@yaidel)


    Necesito saber como excluir agentes de usuarios o aplicaciones de prueba para que se pueda comprobar la seguridad de mi pagina web con wpscan

Viewing 1 replies (of 1 total)
  • Plugin Author nintechnet

    (@nintechnet)

    You can do that with the .htninja script.

    <?php
    /*
     +===========================================================================================+
     | NinjaFirewall optional configuration file                                                 |
     |                                                                                           |
     | See: https://blog.nintechnet.com/ninjafirewall-wp-edition-the-htninja-configuration-file/ |
     +===========================================================================================+
    */
    if ( stripos( $_SERVER['HTTP_USER_AGENT'], 'SOME NAME HERE' ) !== FALSE ) {
       // Do not block it:
       return 'ALLOW';
    }
    

    Replace ‘SOME NAME HERE’ with the name of the user agent (or a part of its name).

Viewing 1 replies (of 1 total)
  • The topic ‘cómo excluir agentes de usuarios o aplicaciones de prueba’ is closed to new replies.