Update CommandExec-4.php

This commit is contained in:
Ufuk Süngü 2018-12-01 00:07:34 +03:00 committed by GitHub
parent 6ab6402203
commit a3c9f31aa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,21 +27,7 @@
}
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")