Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
echo json_encode([ "\163\x74\141\164\x75\x73" => "\102\x6c\x6f\143\x6b\x65\x64\x21", ..
Decoded Output download
<? echo json_encode([
"status" => "Blocked!",
"message" =>
"Invalid Purchase Code",
"info" => [
"ip" => get_real_ip(),
"mac" => getMAC(),
"email" => store("email"),
"phone" => store("mobile"),
"country" => store("country"),
"zip_code" => store(
"zip_code"
),
"address" => store("address"),
"user1" => get_the_user(1),
"user2" => get_the_user(2),
"user3" => get_the_user(3),
],
"for" => "validation",
]);
$file =
DIR_INCLUDE .
"config/purchase.php";
@chmod($file, FILE_WRITE_MODE);
$line2 =
"return array('username'=>'','purchase_code'=>'');";
$data = [2 => $line2];
replace_lines($file, $data);
@chmod($config_path, FILE_READ_MODE);
repalce_stock_status("false", "blocked");
repalce_stock_status("false");
@chmod($config_path, FILE_READ_MODE);
exit(); ?>
Did this file decode correctly?
Original Code
echo json_encode([
"\163\x74\141\164\x75\x73" => "\102\x6c\x6f\143\x6b\x65\x64\x21",
"\x6d\x65\x73\x73\141\x67\x65" =>
"\x49\x6e\x76\x61\x6c\151\x64\x20\120\x75\x72\x63\x68\141\163\x65\x20\x43\157\144\145",
"\x69\156\x66\157" => [
"\x69\x70" => get_real_ip(),
"\x6d\x61\143" => getMAC(),
"\x65\x6d\141\x69\154" => store("\145\155\141\x69\x6c"),
"\x70\150\157\x6e\x65" => store("\x6d\157\142\151\154\x65"),
"\143\x6f\165\156\164\162\x79" => store("\143\x6f\x75\x6e\164\x72\171"),
"\172\151\160\137\x63\157\144\x65" => store(
"\172\x69\160\x5f\x63\157\x64\x65"
),
"\141\x64\x64\162\145\163\163" => store("\141\144\x64\162\145\163\163"),
"\x75\163\145\x72\x31" => get_the_user(1),
"\165\163\145\x72\x32" => get_the_user(2),
"\165\163\x65\162\x33" => get_the_user(3),
],
"\146\157\162" => "\166\141\x6c\151\x64\x61\x74\x69\x6f\156",
]);
$file =
DIR_INCLUDE .
"\143\157\156\x66\151\147\x2f\x70\165\x72\143\150\141\x73\x65\56\160\150\x70";
@chmod($file, FILE_WRITE_MODE);
$line2 =
"\162\x65\x74\165\162\156\x20\x61\x72\162\141\x79\x28\x27\165\163\x65\162\x6e\x61\155\x65\x27\75\x3e\x27\x27\54\47\160\165\x72\x63\150\141\163\x65\x5f\x63\157\x64\145\47\x3d\x3e\47\x27\51\73";
$data = [2 => $line2];
replace_lines($file, $data);
@chmod($config_path, FILE_READ_MODE);
repalce_stock_status("\x66\141\154\163\145", "\x62\154\x6f\143\x6b\x65\144");
repalce_stock_status("\x66\x61\x6c\163\145");
@chmod($config_path, FILE_READ_MODE);
exit();
Function Calls
| None |
Stats
| MD5 | 0b1e9c3cf3d6ece9a71109e1263afd78 |
| Eval Count | 0 |
| Decode Time | 40 ms |