Join the community today
Register Now

Sucuri blocked my searching

Discussion in 'Forum Feedback & Suggestions' started by Sunka, Jul 4, 2017.

  1. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    3:31 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    I tried to search shell_exec() in search and suscuri firewall show me this :LOL:


    centmin.png

    I need to know is it OK (and if it is, how to enable it) because of this server error

    Code:
    ErrorException: shell_exec() has been disabled for security reasons - library/phc/AttachmentPlus/Helper/Helper.php:456
     
  2. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    11:31 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    LOL yeah sucuri in action

    If your addon uses shell_exec, then you need to either enable shell_exec or remove the addon. It can be security issue with shell_exec enabled if a php script is compromised though. Use your own judgement.
     
  3. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    3:31 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    Is it disabled by default on centmin installation?
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,672
    Local Time:
    11:31 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yes in /usr/local/etc/php-fpm.conf
    Code (Text):
    php_admin_value[disable_functions] = shell_exec