Want more timely Centmin Mod News Updates?
Become a Member

Sucuri blocked my searching

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

  1. Sunka

    Sunka Well-Known Member

    1,142
    313
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +510
    Local Time:
    2: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

    45,459
    10,315
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,000
    Local Time:
    11:31 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    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,142
    313
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +510
    Local Time:
    2:31 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    Is it disabled by default on centmin installation?
     
  4. eva2000

    eva2000 Administrator Staff Member

    45,459
    10,315
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,000
    Local Time:
    11:31 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    yes in /usr/local/etc/php-fpm.conf
    Code (Text):
    php_admin_value[disable_functions] = shell_exec