Update CommandExec-4.php
This commit is contained in:
parent
832c0018a3
commit
7931adf3f9
|
@ -27,7 +27,19 @@
|
||||||
}
|
}
|
||||||
if(isset($_GET["typeBox"])){
|
if(isset($_GET["typeBox"])){
|
||||||
$target =$_GET["typeBox"];
|
$target =$_GET["typeBox"];
|
||||||
$substitutions = array('&&' => '',';' => '');
|
$substitutions = array(
|
||||||
|
'&&'=>'',
|
||||||
|
'& ' => '',
|
||||||
|
'&& ' => '',
|
||||||
|
';' => '',
|
||||||
|
'|' => '',
|
||||||
|
'-' => '',
|
||||||
|
'$' => '',
|
||||||
|
'(' => '',
|
||||||
|
')' => '',
|
||||||
|
'`' => '',
|
||||||
|
'||' => ''
|
||||||
|
);
|
||||||
$target = str_replace(array_keys($substitutions),$substitutions,$target);
|
$target = str_replace(array_keys($substitutions),$substitutions,$target);
|
||||||
echo shell_exec($target);
|
echo shell_exec($target);
|
||||||
if($_GET["typeBox"] == "secret")
|
if($_GET["typeBox"] == "secret")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user