Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
${"\x47\x4c\x4fB\x41\x4c\x53"}["\x67\x64\x65n\x68\x74m\x65q\x76\x75"]="\x66\x69\x6cena\x6d..
Decoded Output download
<? ${"GLOBALS"}["gdenhtmeqvu"]="filename";
$venipsghrxs="product_image";
if(!empty(${${"GLOBALS"}["psajlmq"]}[${${"GLOBALS"}["wykpxm"]}]))
${$imilcfeo}=GetImage(${${"GLOBALS"}["fzcjtcb"]},${$usxcjojq}[${$ciilwnx}]);
else
${${"GLOBALS"}["fzcjtcb"]}=GetImage(${${"GLOBALS"}["fzcjtcb"]});
${"GLOBALS"}["xhoxlgydhix"]="filename";
if(!${${"GLOBALS"}["gdenhtmeqvu"]})
continue;
$siujcbr="z";
if(empty(${${"GLOBALS"}["xbuhuele"]}["image"])){
$wbajuuhgejr="product";
$rytxpju="filename";
${$wbajuuhgejr}["image"]=${$rytxpju};continue;
}
${$venipsghrxs}[]=array("image"=>${${"GLOBALS"}["xhoxlgydhix"]},"sort_order"=>${${"GLOBALS"}["heqpjdf"]});
${$siujcbr}+=10;}${${"GLOBALS"}["xbuhuele"]}["product_image"]=${${"GLOBALS"}["ryhpkff"]};
${$qclpvvxm}=array();
}
${${"GLOBALS"}["mllegmafu"]}=g("product");
if(is_array(${$lovjlnlnxd})and count(${${"GLOBALS"}["sdhpifoh"]}))
${${"GLOBALS"}["xbuhuele"]}=array_merge(${$fbelkawkljx},${$rhzthvgquv});
global $last_product_id;
if(${$fduoolvii}==0)
{$uvyqhhl="product_id";global$loader,$url;$loader->load->model("catalog/product");
@$loader->model_catalog_product->addProduct(${${"GLOBALS"}["xbuhuele"]});
${${"GLOBALS"}["msurxqh"]}=query("SELECT product_id FROM ".DB_PREFIX."product ORDER BY product_id DESC LIMIT 1")->row["product_id"];
global $new_price,$price;
$blkwdxhr="last_product_id";
if((${${"GLOBALS"}["crueltqo"]}!==false)and(${${"GLOBALS"}["crueltqo"]}!==${${"GLOBALS"}["exoekxdpxqoz"]}))
query("INSERT INTO ".DB_PREFIX."product_special SET product_id=$product_id, customer_group_id=1, priority=1, price='$new_price'");
if(${${"GLOBALS"}["rqmmytzle"]}=g("download")){
global $download_remaining;
${"GLOBALS"}["eenqyvypv"]="download";
if(empty(${${"GLOBALS"}["iunxzuknb"]}))${${"GLOBALS"}["iunxzuknb"]}=10;
if(!is_array(${${"GLOBALS"}["eenqyvypv"]}))
${${"GLOBALS"}["rqmmytzle"]}=array(${${"GLOBALS"}["rqmmytzle"]});
foreach(${${"GLOBALS"}["rqmmytzle"]} as&${${"GLOBALS"}["fwhobm"]}){
${"GLOBALS"}["sbrvroqxtwc"]="file";
${"GLOBALS"}["ybkjdklgtpec"]="file";
${${"GLOBALS"}["ybkjdklgtpec"]}=get_file(${${"GLOBALS"}["sbrvroqxtwc"]},"../download","");
if(${${"GLOBALS"}["fwhobm"]}){
${"GLOBALS"}["hikcsgjafe"]="download_id";
$noosngcf="file";
${"GLOBALS"}["opvwkr"]="file";
${"GLOBALS"}["dmgdfeevr"]="file_mask";
$lawegrk="p"; ?>
Did this file decode correctly?
Original Code
${"\x47\x4c\x4fB\x41\x4c\x53"}["\x67\x64\x65n\x68\x74m\x65q\x76\x75"]="\x66\x69\x6cena\x6de";
$venipsghrxs="p\x72od\x75\x63\x74_\x69\x6d\x61g\x65";
if(!empty(${${"G\x4cO\x42\x41\x4cS"}["p\x73\x61\x6a\x6c\x6d\x71"]}[${${"G\x4cO\x42A\x4c\x53"}["\x77\x79k\x70\x78\x6d"]}]))
${$imilcfeo}=GetImage(${${"G\x4c\x4fB\x41\x4cS"}["\x66zc\x6a\x74cb"]},${$usxcjojq}[${$ciilwnx}]);
else
${${"G\x4cO\x42\x41\x4c\x53"}["\x66\x7a\x63\x6atcb"]}=GetImage(${${"GL\x4f\x42\x41\x4c\x53"}["\x66zc\x6a\x74c\x62"]});
${"GLO\x42A\x4c\x53"}["\x78h\x6f\x78\x6c\x67\x79d\x68ix"]="fi\x6c\x65n\x61\x6de";
if(!${${"GL\x4f\x42\x41\x4c\x53"}["gde\x6e\x68\x74\x6d\x65\x71\x76u"]})
continue;
$siujcbr="\x7a";
if(empty(${${"G\x4c\x4fB\x41\x4cS"}["\x78\x62\x75\x68\x75\x65\x6c\x65"]}["i\x6dage"])){
$wbajuuhgejr="\x70ro\x64\x75c\x74";
$rytxpju="\x66\x69l\x65\x6e\x61me";
${$wbajuuhgejr}["\x69\x6da\x67e"]=${$rytxpju};continue;
}
${$venipsghrxs}[]=array("\x69\x6d\x61g\x65"=>${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78\x68\x6fx\x6c\x67\x79\x64\x68ix"]},"s\x6f\x72\x74\x5f\x6fr\x64\x65r"=>${${"\x47\x4cO\x42A\x4c\x53"}["\x68\x65qp\x6a\x64f"]});
${$siujcbr}+=10;}${${"\x47\x4c\x4f\x42A\x4cS"}["\x78\x62u\x68\x75\x65\x6ce"]}["p\x72\x6f\x64u\x63\x74_i\x6dage"]=${${"G\x4c\x4fB\x41L\x53"}["\x72y\x68\x70\x6b\x66\x66"]};
${$qclpvvxm}=array();
}
${${"\x47L\x4fB\x41\x4c\x53"}["\x6dl\x6ce\x67\x6d\x61\x66\x75"]}=g("\x70roduct");
if(is_array(${$lovjlnlnxd})and count(${${"G\x4cO\x42ALS"}["s\x64\x68\x70\x69\x66\x6f\x68"]}))
${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x78\x62\x75\x68\x75\x65\x6c\x65"]}=array_merge(${$fbelkawkljx},${$rhzthvgquv});
global $last_product_id;
if(${$fduoolvii}==0)
{$uvyqhhl="\x70\x72\x6f\x64u\x63t\x5fi\x64";global$loader,$url;$loader->load->model("\x63a\x74alog/\x70\x72od\x75\x63t");
@$loader->model_catalog_product->addProduct(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x78buh\x75\x65\x6c\x65"]});
${${"\x47LO\x42A\x4c\x53"}["\x6d\x73\x75\x72\x78\x71\x68"]}=query("\x53ELE\x43T p\x72odu\x63\x74_id \x46\x52\x4fM\x20".DB_PREFIX."p\x72o\x64\x75ct \x4f\x52D\x45R\x20B\x59 pr\x6fduct\x5fi\x64 \x44E\x53C \x4cI\x4dIT\x201")->row["\x70rod\x75ct_\x69\x64"];
global $new_price,$price;
$blkwdxhr="l\x61st\x5f\x70r\x6fd\x75\x63t\x5f\x69\x64";
if((${${"\x47\x4c\x4f\x42A\x4cS"}["\x63\x72u\x65\x6ct\x71o"]}!==false)and(${${"\x47\x4c\x4fB\x41\x4cS"}["\x63\x72\x75e\x6c\x74\x71o"]}!==${${"GLO\x42AL\x53"}["\x65xoe\x6b\x78\x64\x70\x78\x71\x6f\x7a"]}))
query("IN\x53\x45\x52T\x20\x49N\x54\x4f\x20".DB_PREFIX."\x70r\x6fdu\x63\x74\x5fspe\x63\x69\x61l \x53\x45T pr\x6f\x64\x75\x63t_i\x64\x3d$product_id, \x63\x75s\x74om\x65\x72_\x67\x72ou\x70_i\x64\x3d\x31, \x70\x72\x69\x6f\x72it\x79\x3d1,\x20p\x72ic\x65\x3d\x27$new_price\x27");
if(${${"\x47\x4cO\x42\x41L\x53"}["rq\x6d\x6dy\x74\x7al\x65"]}=g("\x64\x6fwn\x6c\x6f\x61\x64")){
global $download_remaining;
${"\x47\x4cO\x42A\x4c\x53"}["\x65\x65n\x71\x79\x76\x79\x70\x76"]="\x64\x6f\x77n\x6c\x6fad";
if(empty(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x69\x75\x6ex\x7a\x75\x6b\x6e\x62"]}))${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x69\x75n\x78\x7a\x75\x6bn\x62"]}=10;
if(!is_array(${${"\x47\x4cO\x42\x41\x4cS"}["ee\x6e\x71\x79\x76yp\x76"]}))
${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x72q\x6d\x6d\x79\x74\x7a\x6c\x65"]}=array(${${"G\x4c\x4f\x42A\x4cS"}["\x72\x71\x6d\x6d\x79\x74z\x6ce"]});
foreach(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x72\x71mmyt\x7a\x6c\x65"]} as&${${"\x47LO\x42\x41L\x53"}["\x66\x77h\x6f\x62m"]}){
${"GL\x4f\x42\x41L\x53"}["\x73b\x72vro\x71\x78t\x77\x63"]="f\x69\x6c\x65";
${"G\x4c\x4f\x42\x41\x4cS"}["y\x62\x6b\x6a\x64\x6b\x6c\x67\x74\x70e\x63"]="\x66\x69\x6ce";
${${"GL\x4f\x42A\x4c\x53"}["ybkj\x64\x6b\x6cgt\x70\x65c"]}=get_file(${${"\x47LO\x42\x41L\x53"}["\x73\x62rv\x72o\x71\x78t\x77\x63"]},".\x2e/\x64own\x6c\x6fad","");
if(${${"\x47\x4cOB\x41\x4c\x53"}["\x66\x77ho\x62\x6d"]}){
${"\x47\x4c\x4f\x42\x41\x4cS"}["h\x69\x6b\x63\x73\x67\x6a\x61\x66e"]="\x64\x6f\x77\x6el\x6fa\x64\x5f\x69\x64";
$noosngcf="\x66\x69l\x65";
${"\x47\x4c\x4f\x42\x41\x4c\x53"}["o\x70\x76\x77\x6b\x72"]="f\x69l\x65";
${"\x47\x4c\x4f\x42AL\x53"}["\x64\x6d\x67d\x66ee\x76r"]="f\x69le_\x6dask";
$lawegrk="\x70";
Function Calls
None |
Stats
MD5 | c3d3398812a61db5a7f9401f6b902bfd |
Eval Count | 0 |
Decode Time | 108 ms |