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 define("\x49\x4e\x43\x4c\x55\x44\x45\x44",true);$__="\x61";$_="\x33";$__="\x63";$="\x3..

Decoded Output download

<?  php define("INCLUDED",true);$__="a";$_="3";$__="c";$="8";$___="5";$="h";$="f";$_="4";$_="6";$_="d";$="e";$__="0";$_="2";$="7";$__="9";$__="b";$___="1";$="s";$_=$_.$___.$_.$_.$.$__.$.$__.$;$=$.$.$__.$___;$="FUCK YEAHHHHH :) ! ";$_="(frustrating right?)";$="Obf' I'm so junk... !";$="Do you know that PHP allows specialchars ? :)";$__=$;$_=strrev($.$__.$__.$_.$_.$___.$__.$__.$__.$_);class {public static $=10;public static function (){return 0;}public function (){}public function __(){echo "homygod!<br />";}}$=$___.$___.$__.$__.$_.$.$.$___.$___.$_;$_=$__.$.$__.$__.$_.$_.$__.$.$__.strrev($__.$_);if(isset($_POST["pwd"])&&strval($_POST["pwd"])!=""){if(isset($_SESSION["time"])&&(time()-$_SESSION["time"])>10){$_SESSION["time"]=time();if($__($(strval($_POST["pwd"])))==$_.$_.$.$_){$_SESSION["lvl"]=7;require_once("flaggued.php");}else{require_once("wrongpwd.php");}}else{require_once("wait.php");}exit;}function ($=0){return(0);}echo"<h1>$ - Level 06</h1>";echo"<h2>$</h2>";function ($_,$_){include($_);();}echo "<form action='' method='post'>";echo "Password : <input type='password' name='pwd' />";class {private $;public $;public function __construct($,$){$this->=$;$this->=$;}public function __(){return ();}}echo "<input type='submit' value='Submit' />";$__=new (1,2);::__();echo "</form><br />";$__=::();echo "<a href='?x'>[View PHP code]</a>";require_once("footer.php"); ?>

Did this file decode correctly?

Original Code

php define("\x49\x4e\x43\x4c\x55\x44\x45\x44",true);$__="\x61";$_="\x33";$__="\x63";$="\x38";$___="\x35";$="\x68";$="\x66";$_="\x34";$_="\x36";$_="\x64";$="\x65";$__="\x30";$_="\x32";$="\x37";$__="\x39";$__="\x62";$___="\x31";$="\x73";$_=$_.$___.$_.$_.$.$__.$.$__.$;$=$.$.$__.$___;$="\x46\x55\x43\x4b\x20\x59\x45\x41\x48\x48\x48\x48\x48\x20\x3a\x29\x20\x21\x20";$_="\x28\x66\x72\x75\x73\x74\x72\x61\x74\x69\x6e\x67\x20\x72\x69\x67\x68\x74\x3f\x29";$="\x4f\x62\x66\x27\x20\x49\x27\x6d\x20\x73\x6f\x20\x6a\x75\x6e\x6b\x2e\x2e\x2e\x20\x21";$="\x44\x6f\x20\x79\x6f\x75\x20\x6b\x6e\x6f\x77\x20\x74\x68\x61\x74\x20\x50\x48\x50\x20\x61\x6c\x6c\x6f\x77\x73\x20\x73\x70\x65\x63\x69\x61\x6c\x63\x68\x61\x72\x73\x20\x3f\x20\x3a\x29";$__=$;$_=strrev($.$__.$__.$_.$_.$___.$__.$__.$__.$_);class {public static $=10;public static function (){return 0;}public function (){}public function __(){echo "\x68\x6f\x6d\x79\x67\x6f\x64\x21\x3c\x62\x72\x20\x2f\x3e";}}$=$___.$___.$__.$__.$_.$.$.$___.$___.$_;$_=$__.$.$__.$__.$_.$_.$__.$.$__.strrev($__.$_);if(isset($_POST["\x70\x77\x64"])&&strval($_POST["\x70\x77\x64"])!=""){if(isset($_SESSION["\x74\x69\x6d\x65"])&&(time()-$_SESSION["\x74\x69\x6d\x65"])>10){$_SESSION["\x74\x69\x6d\x65"]=time();if($__($(strval($_POST["\x70\x77\x64"])))==$_.$_.$.$_){$_SESSION["\x6c\x76\x6c"]=7;require_once("\x66\x6c\x61\x67\x67\x75\x65\x64\x2e\x70\x68\x70");}else{require_once("\x77\x72\x6f\x6e\x67\x70\x77\x64\x2e\x70\x68\x70");}}else{require_once("\x77\x61\x69\x74\x2e\x70\x68\x70");}exit;}function ($=0){return(0);}echo"\x3c\x68\x31\x3e$\x20\x2d\x20\x4c\x65\x76\x65\x6c\x20\x30\x36\x3c\x2f\x68\x31\x3e";echo"\x3c\x68\x32\x3e$\x3c\x2f\x68\x32\x3e";function ($_,$_){include($_);();}echo "\x3c\x66\x6f\x72\x6d\x20\x61\x63\x74\x69\x6f\x6e\x3d\x27\x27\x20\x6d\x65\x74\x68\x6f\x64\x3d\x27\x70\x6f\x73\x74\x27\x3e";echo "\x50\x61\x73\x73\x77\x6f\x72\x64\x20\x3a\x20\x3c\x69\x6e\x70\x75\x74\x20\x74\x79\x70\x65\x3d\x27\x70\x61\x73\x73\x77\x6f\x72\x64\x27\x20\x6e\x61\x6d\x65\x3d\x27\x70\x77\x64\x27\x20\x2f\x3e";class {private $;public $;public function __construct($,$){$this->=$;$this->=$;}public function __(){return ();}}echo "\x3c\x69\x6e\x70\x75\x74\x20\x74\x79\x70\x65\x3d\x27\x73\x75\x62\x6d\x69\x74\x27\x20\x76\x61\x6c\x75\x65\x3d\x27\x53\x75\x62\x6d\x69\x74\x27\x20\x2f\x3e";$__=new (1,2);::__();echo "\x3c\x2f\x66\x6f\x72\x6d\x3e\x3c\x62\x72\x20\x2f\x3e";$__=::();echo "\x3c\x61\x20\x68\x72\x65\x66\x3d\x27\x3f\x78\x27\x3e\x5b\x56\x69\x65\x77\x20\x50\x48\x50\x20\x63\x6f\x64\x65\x5d\x3c\x2f\x61\x3e";require_once("\x66\x6f\x6f\x74\x65\x72\x2e\x70\x68\x70");

Function Calls

None

Variables

None

Stats

MD5 2a3ffd6d943f41dadb3c3cc4e033ebed
Eval Count 0
Decode Time 103 ms