Update CommandExec-4.php

This commit is contained in:
OguzTozkoparan 2018-12-01 00:11:58 +03:00 committed by GitHub
parent 832c0018a3
commit 7931adf3f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,19 @@
}
if(isset($_GET["typeBox"])){
$target =$_GET["typeBox"];
$substitutions = array('&&' => '',';' => '');
$substitutions = array(
'&&'=>'',
'& ' => '',
'&& ' => '',
';' => '',
'|' => '',
'-' => '',
'$' => '',
'(' => '',
')' => '',
'`' => '',
'||' => ''
);
$target = str_replace(array_keys($substitutions),$substitutions,$target);
echo shell_exec($target);
if($_GET["typeBox"] == "secret")