Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
function transform($elem) { if ($elem %2 == 1) { return ++$elem; } ..
Decoded Output download
<? function transform($elem) {
if ($elem %2 == 1) {
return ++$elem;
}
else {
return --$elem;
}
}
$info = $_COOKIE["info"];
preg_match_all("/\d/", $info, $out);
$array = $out[0];
if (sizeof($array) < 4) {
$solution = substr($info, 0, 8);
}
else {
$array = array_map("transform", $array);
$solution = implode("", $array);
}; ?>
Did this file decode correctly?
Original Code
function transform($elem) {
if ($elem %2 == 1) {
return ++$elem;
}
else {
return --$elem;
}
}
$info = $_COOKIE["info"];
preg_match_all("/\d/", $info, $out);
$array = $out[0];
if (sizeof($array) < 4) {
$solution = substr($info, 0, 8);
}
else {
$array = array_map("transform", $array);
$solution = implode("", $array);
};
Function Calls
preg_match_all | 1 |
Stats
MD5 | a503e731357b6bdaa44fad1f72e7ab0f |
Eval Count | 0 |
Decode Time | 100 ms |