diff options
Diffstat (limited to 'admin/WebConsole/includes')
-rw-r--r-- | admin/WebConsole/includes/restfunctions.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/admin/WebConsole/includes/restfunctions.php b/admin/WebConsole/includes/restfunctions.php index ec4a323c..4067f697 100644 --- a/admin/WebConsole/includes/restfunctions.php +++ b/admin/WebConsole/includes/restfunctions.php @@ -144,9 +144,8 @@ function shell($case, $string_ips, $command) { break; case 3: $decoded_cmds = rawurldecode(substr($command, 4)); - $command = substr($decoded_cmds, 0, -2); $data = array(OG_REST_PARAM_CLIENTS => $ips, - OG_REST_PARAM_RUN => $command, + OG_REST_PARAM_RUN => $decoded_cmds, OG_REST_PARAM_ECHO => false); $command = OG_REST_CMD_RUN; break; |