Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

include "\146\x75\156\x63\164\x69\x6f\x6e\163\x2e\x70\x68\x70"; global $db; if (!$sessio..

Decoded Output download

<?  include "functions.php"; 
global $db; 
if (!$session) { 
    header("location: " . $ssl . $_SERVER["SERVER_NAME"] . root_dir . "/login.php"); 
    die; 
} 
$act = strip_tags($_GET["act"]); 
preg_match("/^[a-zA-Z0-9\w]+/", $act, $actx); 
$act = $actx[0]; 
if (isset($_GET["file"])) { 
    $file = intval($_GET["file"]); 
    $file = $_SERVER["DOCUMENT_ROOT"] . download_dir . "/" . $file . ".dump"; 
    if (file_exists($file)) { 
        to_download($file); 
    } 
    die; 
} 
if ($act == "logout") { 
    foreach ($_SESSION as $p => $x) { 
        unset($_SESSION[$p]); 
    } 
    header("location: " . $ssl . $_SERVER["SERVER_NAME"] . root_dir . "/login.php"); 
    die; 
} 
$self_account_id = get_setting("self_account_id"); 
$pname = get_setting_account("profile_tg", $self_account_id); 
$bot_token = get_setting_account("bot_token", $self_account_id); 
$bot_username = get_setting_account("bot_username", $self_account_id); 
if (empty($bot_username) or empty($bot_token)) { 
    $bot_username = "<span style='color:red'>: API Token Telegram</span>"; 
} else { 
    $bot_username = "@" . $bot_username; 
} 
$chk = query_get("https://cdn.tposter.pro/vers.info"); ?>

Did this file decode correctly?

Original Code

include "\146\x75\156\x63\164\x69\x6f\x6e\163\x2e\x70\x68\x70";
global $db;
if (!$session) {
    header("\x6c\157\x63\141\x74\151\157\x6e\x3a\40" . $ssl . $_SERVER["\123\105\122\x56\105\122\137\116\x41\115\105"] . root_dir . "\57\154\157\147\x69\156\x2e\160\x68\160");
    die;
}
$act = strip_tags($_GET["\141\x63\164"]);
preg_match("\x2f\136\133\x61\55\x7a\x41\55\x5a\x30\x2d\71\x5c\167\x5d\53\x2f", $act, $actx);
$act = $actx[0];
if (isset($_GET["\x66\151\x6c\145"])) {
    $file = intval($_GET["\146\151\x6c\145"]);
    $file = $_SERVER["\x44\117\x43\125\115\x45\116\x54\x5f\x52\x4f\x4f\124"] . download_dir . "\57" . $file . "\56\x64\165\155\x70";
    if (file_exists($file)) {
        to_download($file);
    }
    die;
}
if ($act == "\154\157\x67\x6f\165\164") {
    foreach ($_SESSION as $p => $x) {
        unset($_SESSION[$p]);
    }
    header("\154\157\x63\141\x74\151\157\156\x3a\40" . $ssl . $_SERVER["\123\105\x52\126\105\x52\137\x4e\101\x4d\105"] . root_dir . "\x2f\154\x6f\147\151\x6e\x2e\x70\x68\160");
    die;
}
$self_account_id = get_setting("\163\x65\154\x66\137\141\143\143\x6f\x75\156\164\x5f\151\x64");
$pname = get_setting_account("\160\162\x6f\x66\151\x6c\x65\137\x74\147", $self_account_id);
$bot_token = get_setting_account("\142\157\164\137\x74\157\153\x65\x6e", $self_account_id);
$bot_username = get_setting_account("\142\x6f\x74\x5f\165\163\x65\162\x6e\141\155\145", $self_account_id);
if (empty($bot_username) or empty($bot_token)) {
    $bot_username = "\74\x73\x70\141\156\x20\163\164\x79\154\x65\75\47\143\157\x6c\157\x72\x3a\162\145\144\47\x3e\320\243\320\xba\xd0\260\320\xb7\xd0\xb0\321\x82\xd1\x8c\72\40\x41\x50\111\40\x54\157\x6b\145\x6e\x20\x54\x65\x6c\145\x67\162\141\155\x3c\x2f\x73\160\141\156\76";
} else {
    $bot_username = "\x40" . $bot_username;
}
$chk = query_get("\x68\x74\x74\x70\163\x3a\57\x2f\x63\144\x6e\x2e\164\160\157\163\x74\x65\x72\x2e\160\x72\157\x2f\166\x65\x72\163\56\151\156\146\x6f");

Function Calls

None

Variables

None

Stats

MD5 ad4752099559928f994292deea22e0ee
Eval Count 0
Decode Time 57 ms