Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
goto D4; Fe: die; d0: $E6 = @disk_free_space("\x2e"); if (!($E6 > 1)) { goto d7; } if (!(..
Decoded Output download
<? goto D4; Fe: die; d0: $E6 = @disk_free_space("."); if (!($E6 > 1)) { goto d7; } if (!(($E6 = round(disk_free_space(".") / 1024 / 1024)) < 50)) { goto c7; } goto b3; A1: define("full_platform_load", true); e4: require_once "lib/code/c09a.php"; if (!(@$_GET["route"] != "login" && !d8())) { goto F7; } if (!function_exists("HaveAdminAccess")) { goto Ba; } goto Aa; E3: if (empty($_POST)) { goto db; } foreach ($_POST as &$C1) { $C1 = str_replace(".//", "://", $C1); bd: } be: db: if (@$_GET["route"]) { goto a9; } goto b4; ae: b4($_GET["view_file"]); E7: $http_cache = true; $hash_cache_maxtime = 30 * 60; if (!@(!$_GET["route"])) { goto b8; } goto a1; b4: require df . "lib/code/c7aa.php"; goto a0; a9: require "lib/code/" . $f4[$_GET["route"]]; a0: goto da; b3: die("Disk free space too low ({$E6} Mb)"); c7: d7: function aF($Dd) { header("Location: " . aD() . $Dd); die; } if (!(@$_GET["route"] == "tasks" || @$_GET["route"] == "ins" || @$_GET["route"] == "tree" || @$_GET["delete_entities"] || @$_GET["add"] || !F8())) { goto e4; } goto A1; a1: dF(); b8: $Eb = @$cb; function E5() { echo aD(); } function aD() { return "index.php?rd=" . (rand(1, 10000000) * 2 + @$_GET["rd"] % 2) . "&route="; } goto E3; da: require df . "lib/code/5706.php"; function A9($name) { goto Cb; ef: $Dc = substr($Dc, 0, $bc) . $A9 . substr($Dc, $bc + 1); $C6 = !$C6; goto a6; D7: file_put_contents(bc . $name, $Dc); goto Fd; Fd: A9: return bc . $name; goto B1; D8: $Ad = "<@#&"; $Dc = str_replace("<?php", $Ad, $Dc); $Dc = str_replace("<?", "<?php echo ", $Dc); $Dc = str_replace("<?php echo ", "<?php echo ", $Dc); $Dc = str_replace($Ad, "<?php", $Dc); goto B7; Cb: if (!(substr($name, -4) != ".tpl")) { goto Ff; } $name .= ".tpl"; Ff: if (!(file_exists($name) and filemtime($name) > @filemtime(bc . $name))) { goto A9; } $Dc = file_get_contents($name); goto D8; B7: $C6 = false; $bc = 0; a6: if (!($bc = strpos($Dc, "`", $bc))) { goto D7; } if (!$C6) { goto F6; } goto b0; b0: $A9 = "') ?>"; goto f5; F6: $A9 = "<?php echo t('"; f5: goto ef; B1: } goto f4; D4: define("bc", "lib/tpl/"); define("df", getcwd() . "/"); $f4 = array("ajax" => "7a49.php", "feed" => "f536.php", "upload" => "bc81.php", "css" => "5542.php", "ltree" => "7b9d.php", "wiz" => "68c2.php", "test" => "a586.php", "widget" => "e69a.php", "db" => "c452.php", "editor" => "7705.php", "howcron" => "80b6.php", "import" => "717b.php", "import2" => "5267.php", "ins" => "d028.php", "log" => "3d2a.php", "login" => "ef85.php", "newsite" => "9111.php", "replace" => "596f.php", "script" => "a45f.php", "settings" => "b52c.php", "tasks" => "2ade.php", "title" => "c7aa.php", "tree" => "99f4.php", "wizard1" => "cc08.php", "wizard2" => "af94.php"); if (!($b0 = @$_GET["op"])) { goto d0; } require "lib/code/" . $f4[$b0]; goto Fe; Aa: die("ACCESS DENIED. Log into your system as Admin"); Ba: Af("login"); F7: if (empty($_GET["view_file"])) { goto E7; } goto ae; f4: function F8() { $F8 = sha1(PHP_VERSION_ID . filemtime("index.php")); return @$_COOKIE["liid"] == $F8; } ?>
Did this file decode correctly?
Original Code
goto D4; Fe: die; d0: $E6 = @disk_free_space("\x2e"); if (!($E6 > 1)) { goto d7; } if (!(($E6 = round(disk_free_space("\x2e") / 1024 / 1024)) < 50)) { goto c7; } goto b3; A1: define("\146\x75\154\154\x5f\x70\x6c\x61\164\146\157\162\155\x5f\154\x6f\x61\x64", true); e4: require_once "\154\151\x62\x2f\x63\x6f\x64\x65\x2f\x63\x30\x39\x61\x2e\x70\x68\160"; if (!(@$_GET["\162\x6f\165\164\x65"] != "\154\157\147\x69\x6e" && !d8())) { goto F7; } if (!function_exists("\110\141\x76\x65\101\x64\x6d\151\x6e\x41\x63\x63\x65\163\x73")) { goto Ba; } goto Aa; E3: if (empty($_POST)) { goto db; } foreach ($_POST as &$C1) { $C1 = str_replace("\x2e\57\57", "\72\x2f\57", $C1); bd: } be: db: if (@$_GET["\162\x6f\x75\164\145"]) { goto a9; } goto b4; ae: b4($_GET["\166\151\x65\167\137\x66\151\x6c\x65"]); E7: $http_cache = true; $hash_cache_maxtime = 30 * 60; if (!@(!$_GET["\162\x6f\x75\x74\145"])) { goto b8; } goto a1; b4: require df . "\x6c\x69\142\57\143\157\144\x65\x2f\143\x37\x61\141\56\160\150\160"; goto a0; a9: require "\154\151\x62\x2f\143\157\144\145\57" . $f4[$_GET["\162\157\165\x74\145"]]; a0: goto da; b3: die("\x44\151\x73\x6b\40\146\x72\x65\145\40\163\160\141\x63\145\x20\164\157\157\40\154\157\167\x20\x28{$E6}\40\115\142\x29"); c7: d7: function aF($Dd) { header("\114\157\x63\x61\164\x69\x6f\156\72\40" . aD() . $Dd); die; } if (!(@$_GET["\x72\x6f\x75\x74\145"] == "\164\141\163\153\163" || @$_GET["\x72\x6f\165\164\145"] == "\151\x6e\x73" || @$_GET["\162\157\x75\x74\x65"] == "\164\162\x65\145" || @$_GET["\x64\x65\154\145\164\x65\x5f\145\x6e\164\x69\x74\x69\145\163"] || @$_GET["\x61\144\144"] || !F8())) { goto e4; } goto A1; a1: dF(); b8: $Eb = @$cb; function E5() { echo aD(); } function aD() { return "\151\x6e\144\x65\170\x2e\x70\x68\x70\77\x72\144\75" . (rand(1, 10000000) * 2 + @$_GET["\x72\144"] % 2) . "\46\162\157\165\164\x65\x3d"; } goto E3; da: require df . "\x6c\x69\142\57\x63\x6f\x64\145\x2f\65\67\60\66\x2e\x70\x68\160"; function A9($name) { goto Cb; ef: $Dc = substr($Dc, 0, $bc) . $A9 . substr($Dc, $bc + 1); $C6 = !$C6; goto a6; D7: file_put_contents(bc . $name, $Dc); goto Fd; Fd: A9: return bc . $name; goto B1; D8: $Ad = "\74\100\43\46"; $Dc = str_replace("\74\77\160\150\x70", $Ad, $Dc); $Dc = str_replace("\74\x3f", "\x3c\x3f\160\150\160\x20\145\x63\x68\x6f\x20", $Dc); $Dc = str_replace("\74\77\x70\150\x70\40\x65\x63\150\x6f\x20\40", "\x3c\77\x70\x68\x70\40\x65\143\x68\x6f\40", $Dc); $Dc = str_replace($Ad, "\74\x3f\x70\150\x70", $Dc); goto B7; Cb: if (!(substr($name, -4) != "\56\164\x70\x6c")) { goto Ff; } $name .= "\x2e\164\160\154"; Ff: if (!(file_exists($name) and filemtime($name) > @filemtime(bc . $name))) { goto A9; } $Dc = file_get_contents($name); goto D8; B7: $C6 = false; $bc = 0; a6: if (!($bc = strpos($Dc, "\x60", $bc))) { goto D7; } if (!$C6) { goto F6; } goto b0; b0: $A9 = "\x27\x29\x20\77\x3e"; goto f5; F6: $A9 = "\74\77\160\150\x70\x20\x65\143\150\x6f\40\164\50\x27"; f5: goto ef; B1: } goto f4; D4: define("\x62\x63", "\x6c\151\x62\x2f\x74\x70\154\57"); define("\x64\x66", getcwd() . "\x2f"); $f4 = array("\x61\152\141\x78" => "\67\141\x34\71\56\x70\x68\160", "\x66\145\145\144" => "\x66\x35\63\x36\x2e\x70\150\x70", "\x75\x70\154\x6f\141\x64" => "\142\x63\70\x31\x2e\160\150\160", "\x63\x73\x73" => "\x35\65\64\x32\x2e\160\150\x70", "\x6c\x74\x72\x65\x65" => "\67\142\71\x64\56\160\150\160", "\167\151\x7a" => "\66\x38\143\62\x2e\x70\x68\160", "\x74\145\x73\x74" => "\x61\x35\x38\66\56\x70\150\x70", "\167\x69\x64\x67\145\x74" => "\145\x36\x39\141\56\160\x68\160", "\x64\x62" => "\143\64\65\x32\56\x70\150\x70", "\x65\x64\151\x74\x6f\x72" => "\67\x37\60\65\56\160\x68\x70", "\150\157\167\x63\162\157\x6e" => "\70\60\142\66\x2e\x70\150\160", "\151\155\160\x6f\x72\x74" => "\67\61\67\142\56\160\150\160", "\151\x6d\x70\157\x72\164\62" => "\x35\62\66\x37\56\160\x68\x70", "\x69\156\163" => "\x64\x30\62\70\x2e\160\x68\160", "\x6c\x6f\x67" => "\x33\x64\62\x61\56\x70\x68\x70", "\154\157\147\x69\156" => "\145\146\70\65\x2e\160\150\x70", "\156\145\167\x73\151\x74\145" => "\71\x31\x31\61\56\160\150\160", "\x72\145\x70\x6c\141\x63\145" => "\x35\71\x36\x66\56\160\x68\160", "\x73\x63\x72\151\160\164" => "\141\x34\65\146\x2e\160\x68\x70", "\x73\145\164\x74\151\156\x67\x73" => "\x62\x35\x32\143\x2e\x70\150\160", "\164\x61\x73\x6b\163" => "\62\x61\x64\145\56\x70\150\160", "\164\151\164\154\145" => "\x63\x37\x61\x61\56\160\150\160", "\164\x72\145\x65" => "\x39\x39\146\64\x2e\x70\150\x70", "\x77\x69\x7a\x61\162\x64\61" => "\x63\143\x30\x38\56\160\150\160", "\167\151\x7a\141\x72\x64\62" => "\141\x66\x39\x34\x2e\x70\x68\160"); if (!($b0 = @$_GET["\x6f\x70"])) { goto d0; } require "\x6c\x69\x62\57\x63\x6f\144\145\57" . $f4[$b0]; goto Fe; Aa: die("\101\103\103\105\x53\x53\40\x44\x45\x4e\x49\105\x44\x2e\40\x4c\157\x67\40\x69\x6e\164\x6f\40\171\157\165\162\40\163\171\163\x74\145\155\40\x61\163\40\101\x64\155\151\156"); Ba: Af("\154\x6f\147\151\156"); F7: if (empty($_GET["\x76\x69\x65\167\x5f\x66\x69\154\x65"])) { goto E7; } goto ae; f4: function F8() { $F8 = sha1(PHP_VERSION_ID . filemtime("\151\156\x64\145\170\56\160\150\x70")); return @$_COOKIE["\154\151\x69\144"] == $F8; }
Function Calls
| None |
Stats
| MD5 | 9135c8da2afcb401fb1bec91a46600d5 |
| Eval Count | 0 |
| Decode Time | 88 ms |