Update exec.php
This commit is contained in:
+1
-1
@@ -469,7 +469,7 @@
|
|||||||
switch ($handler) {
|
switch ($handler) {
|
||||||
case 'shell':
|
case 'shell':
|
||||||
if (permission_exists('exec_command') && $command_authorized) {
|
if (permission_exists('exec_command') && $command_authorized) {
|
||||||
$result = escape(shell_exec($command . " 2>&1"));
|
$result = shell_exec($command . " 2>&1");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'php':
|
case 'php':
|
||||||
|
|||||||
Reference in New Issue
Block a user