Skip to main content

How to ignore a single PHP file in all websites

Comments

5 comments

  • kodeslogic
    # bypass MySites STATE.php file # Joomla cmd:/usr/bin/php /usr/local/cpanel/public_html/plugins/system/bfnetwork/bfnetwork/tmp/STATE.php # Wordpress cmd:/usr/bin/php /usr/local/cpanel/public_html/wp-content/plugins/mywpguru/bfnetwork/tmp

    Is the mentioned line added to file /etc/csf/csf.pignore ?
    0
  • LukeDouglas
    Is the mentioned line added to file /etc/csf/csf.pignore ?

    Yes. In fact the following Code is what I have in the /etc/csf/csf.pignore file. # bypass MySites STATE.php file # Joomla cmd:/usr/bin/php /usr/local/cpanel/public_html/plugins/system/bfnetwork/bfnetwork/tmp/STATE.php # Wordpress cmd:/usr/bin/php /usr/local/cpanel/public_html/wp-content/plugins/mywpguru/bfnetwork/tmp
    0
  • ffeingol
    I believe the message that you are quoting is from CXS (exploit scanner) not CSF (firewall). The ignore file for CXS is /etc/cxs/cxs.ignore and I believe the syntax would be: hfile:/public_html/plugins/system/bfnetwork/bfnetwork/tmp/STATE.php
    0
  • LukeDouglas
    It is actually the /etc/csf/csf.pignore where I put your code. So I have added your code to the /etc/cxs/csx.ignore file.
    0
  • cPRex Jurassic Moderator
    Thanks for the details, @ffeingol. @LukeDouglas, these questions might be better directed at the ConfigServer team (
    0

Please sign in to leave a comment.