Update CommandExec-4.php
This commit is contained in:
parent
6ab6402203
commit
a3c9f31aa0
|
@ -27,21 +27,7 @@
|
||||||
}
|
}
|
||||||
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