Welcome to Centmin Mod Community
Register Now

Sucuri blocked my searching

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

  1. Sunka

    Sunka Active Member

    932
    243
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +394
    Local Time:
    3:49 PM
    Nginx 1.13.3
    MariaDB 10.1.24
    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
     
    • Informative Informative x 1
  2. eva2000

    eva2000 Administrator Staff Member

    30,963
    6,918
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,420
    Local Time:
    12:49 AM
    Nginx 1.13.x
    MariaDB 5.5
    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 Active Member

    932
    243
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +394
    Local Time:
    3:49 PM
    Nginx 1.13.3
    MariaDB 10.1.24
    Is it disabled by default on centmin installation?
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,963
    6,918
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,420
    Local Time:
    12:49 AM
    Nginx 1.13.x
    MariaDB 5.5
    yes in /usr/local/etc/php-fpm.conf
    Code (Text):
    php_admin_value[disable_functions] = shell_exec
     
    • Like Like x 1