This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

shell_exec
#1
shell_exec
Does suhosin or any other mechanism other than the php.ini possibly disable shell_exec and exec?
I was expecting to find it disabled in the php.ini, but it is not.

It, as I feared was caused by suhosin, which I can disable for the one site that needs it. Is there any way to allow shell_exec in the suhosi.php file per site? I think it could be whitelisted, but if I do it in the suhosin.ini, it will be disabled globally which would be worse.
Everyone makes mistakes, but to truly screw up it takes the root password!
Reply
Thanks given by:
#2
RE: shell_exec
the values "shell_exec" and "exec" are set in Virtual Host, not sure but you can try customizing it via "Module Admin" > "Apache Config" > scroll down to "Override a Virtual Host Setting" > select domain and start testing stuff..

but be aware this can be a high security hazard!

My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons

Sentora's development takes way too long, so i'm transitioning to HestiaCP.
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
PHP exec() and shell_exec() functions cause hanging steve_nf 2 11 ,727 08-11-2015, 07:32 AM
Last Post: steve_nf

Forum Jump:


Users browsing this thread: 1 Guest(s)