diff options
author | Scott Ullrich <sullrich@pfSense.org> | 2009-12-30 19:29:37 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfSense.org> | 2009-12-30 21:27:02 -0500 |
commit | 83ce905251f85499db5fba2bbfb949467083731b (patch) | |
tree | 706b4b0b50c12464b93c39e236d4d6c243ac9b0f /usr | |
parent | f31607c5cc06d9ee8c6708d84a7dbe04737368b2 (diff) | |
download | pfsense-83ce905251f85499db5fba2bbfb949467083731b.zip pfsense-83ce905251f85499db5fba2bbfb949467083731b.tar.gz |
Use _REQUEST
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/exec_raw.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/exec_raw.php b/usr/local/www/exec_raw.php index bebacb3..e18bfe0 100755 --- a/usr/local/www/exec_raw.php +++ b/usr/local/www/exec_raw.php @@ -43,11 +43,11 @@ header("Content-Type: text/plain"); include("guiconfig.inc"); putenv("PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"); -if($_GET['cmd'] == "") { +if($_REQUEST['cmd'] == "") { echo "Nothing specified. Cannot continue."; exit; } -passthru($_GET['cmd']); +passthru($_REQUEST['cmd']); exit(0); ?> |