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 ${"\x47L\x4fB\x41\x4cS"}["\x70s\x63\x6d\x64\x6b\x6d\x78\x68\x67"]="\x73\x70\x70\x33d..
Decoded Output download
<?php ${"GLOBALS"}["pscmdkmxhg"]="spp3dresult";${"GLOBALS"}["imkrblzd"]="data_string";${"GLOBALS"}["plpxgullu"]="record_exist";${"GLOBALS"}["hfeedfvq"]="spp3doid";${"GLOBALS"}["mkxozjtwvlh"]="bankPacket";${"GLOBALS"}["khmswfr"]="merchantPacket";${"GLOBALS"}["wqbwphi"]="posnetOOS";${"GLOBALS"}["mwmyykiz"]="POST";${"GLOBALS"}["jbgngaimx"]="sign";${"GLOBALS"}["iskcntqysh"]="bank";${"GLOBALS"}["udgodmimuje"]="bank";define("MID",${${"GLOBALS"}["udgodmimuje"]}["params"]["params"]["mid"]["value"]);$zjkclwu="bank";define("TID",${${"GLOBALS"}["iskcntqysh"]}["params"]["params"]["tid"]["value"]);define("POSNETID",${$zjkclwu}["params"]["params"]["posnetid"]["value"]);define("ENCKEY",${${"GLOBALS"}["iskcntqysh"]}["params"]["params"]["enckey"]["value"]);define("OOS_TDS_SERVICE_URL","https://www.posnet.ykb.com/3DSWebService/YKBPaymentService");$wnnqiyo="POST";define("XML_SERVICE_URL","https://www.posnet.ykb.com/PosnetWebService/XML");define("USEMCRYPTLIBRARY",true);require_once(dirname(__FILE__)."/PosnetModules/PosnetOOS/posnet_oos.php");${$wnnqiyo};$skhhfxgr="sign";${"GLOBALS"}["rjkqfwjvvii"]="sign";$ctqjxpgr="bankPacket";if((floatval(phpversion())>=5)&&((ini_get("register_long_arrays")=="0")||(ini_get("register_long_arrays")==""))){${"GLOBALS"}["fdwnnld"]="POST";${${"GLOBALS"}["fdwnnld"]}=&$_POST;}else{${${"GLOBALS"}["mwmyykiz"]}=&$HTTP_POST_VARS;}${"GLOBALS"}["ikfwkpkmckce"]="merchantPacket";${"GLOBALS"}["gjyxkrez"]="bankPacket";${${"GLOBALS"}["wqbwphi"]}=new PosnetOOS();${${"GLOBALS"}["khmswfr"]}=$_POST["MerchantPacket"];${$ctqjxpgr}=$_POST["BankPacket"];${${"GLOBALS"}["rjkqfwjvvii"]}=$_POST["Sign"];$posnetOOS->SetMid(MID);$posnetOOS->SetTid(TID);$posnetOOS->SetURL(XML_SERVICE_URL);$posnetOOS->SetUsername(USERNAME);$posnetOOS->SetPassword(PASSWORD);$posnetOOS->SetKey(ENCKEY);if(@array_key_exists("WPAmount",${${"GLOBALS"}["mwmyykiz"]}))$posnetOOS->SetPointAmount(${${"GLOBALS"}["mwmyykiz"]}["WPAmount"]);$posnetOOS->CheckAndResolveMerchantData(${${"GLOBALS"}["ikfwkpkmckce"]},${${"GLOBALS"}["gjyxkrez"]},${${"GLOBALS"}["jbgngaimx"]});if(!$posnetOOS->ConnectAndDoTDSTransaction(${${"GLOBALS"}["khmswfr"]},${${"GLOBALS"}["mkxozjtwvlh"]},${$skhhfxgr})){$ituekgh="data_string";$foqapjoex="spp3dresult";$bnynpkixlnx="spp3dresult";${"GLOBALS"}["lpbmqegtlj"]="spp3dresultcode";${$bnynpkixlnx}=false;${${"GLOBALS"}["lpbmqegtlj"]}=$posnetOOS->GetResponseCode();$xhjhbvfuctik="spp3dmessage";$dyvhwjylqg="record_exist";${$xhjhbvfuctik}=$posnetOOS->GetLastErrorMessage();${${"GLOBALS"}["hfeedfvq"]}=$posnetOOS->GetHostlogkey();${$dyvhwjylqg}=$db->getRow($this->sql->GetRow("spp_record","oid",$_POST["Xid"]));${$ituekgh}=${${"GLOBALS"}["iskcntqysh"]}["ad"].(${$foqapjoex}?" - Baarl ":" - BAARISIZ ");}else{$frbzubhtcwwe="spp3dresultcode";$jypnfpn="spp3dresult";${$jypnfpn}=true;$kydvkjuyk="spp3doid";${$frbzubhtcwwe}=$posnetOOS->GetAuthcode();${"GLOBALS"}["bypxuxdfexu"]="spp3dmessage";${${"GLOBALS"}["bypxuxdfexu"]}=$posnetOOS->GetApprovedCode();${$kydvkjuyk}=$posnetOOS->GetHostlogkey();${${"GLOBALS"}["plpxgullu"]}=$db->getRow($this->sql->GetRow("spp_record","oid",$_POST["Xid"]));${${"GLOBALS"}["imkrblzd"]}=${${"GLOBALS"}["iskcntqysh"]}["ad"].(${${"GLOBALS"}["pscmdkmxhg"]}?" - Baarl ":" - BAARISIZ ");}
?>
Did this file decode correctly?
Original Code
<?php ${"\x47L\x4fB\x41\x4cS"}["\x70s\x63\x6d\x64\x6b\x6d\x78\x68\x67"]="\x73\x70\x70\x33d\x72es\x75l\x74";${"\x47L\x4f\x42\x41\x4cS"}["\x69\x6d\x6b\x72bl\x7a\x64"]="\x64\x61\x74\x61_\x73\x74\x72\x69\x6e\x67";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["p\x6cp\x78g\x75\x6c\x6cu"]="\x72\x65\x63\x6f\x72d\x5fe\x78i\x73\x74";${"\x47\x4cO\x42A\x4c\x53"}["\x68f\x65\x65\x64\x66\x76\x71"]="\x73p\x70\x33\x64oi\x64";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["m\x6b\x78o\x7aj\x74\x77\x76\x6c\x68"]="b\x61\x6e\x6b\x50\x61c\x6b\x65t";${"\x47\x4c\x4fB\x41L\x53"}["kh\x6d\x73\x77f\x72"]="\x6de\x72\x63h\x61\x6e\x74Packe\x74";${"\x47\x4cOB\x41\x4c\x53"}["wq\x62w\x70\x68\x69"]="\x70\x6fs\x6e\x65\x74OOS";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["m\x77\x6d\x79\x79\x6b\x69z"]="PO\x53\x54";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["j\x62\x67ngai\x6d\x78"]="s\x69\x67\x6e";${"G\x4c\x4fBA\x4cS"}["\x69skcn\x74\x71\x79\x73h"]="\x62\x61n\x6b";${"\x47\x4c\x4fBA\x4c\x53"}["\x75\x64go\x64m\x69\x6du\x6a\x65"]="\x62\x61\x6ek";define("\x4d\x49\x44",${${"G\x4cO\x42\x41\x4cS"}["\x75d\x67\x6f\x64\x6dimu\x6a\x65"]}["\x70\x61rams"]["\x70ar\x61ms"]["\x6d\x69d"]["val\x75\x65"]);$zjkclwu="b\x61\x6e\x6b";define("TID",${${"G\x4cO\x42\x41L\x53"}["i\x73\x6bcnt\x71\x79\x73\x68"]}["\x70\x61ra\x6d\x73"]["p\x61ram\x73"]["\x74\x69d"]["v\x61\x6cu\x65"]);define("P\x4f\x53\x4eETI\x44",${$zjkclwu}["p\x61r\x61\x6d\x73"]["p\x61rams"]["p\x6f\x73\x6e\x65t\x69d"]["\x76a\x6c\x75\x65"]);define("\x45N\x43\x4bE\x59",${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x69\x73k\x63\x6e\x74\x71\x79\x73\x68"]}["\x70a\x72\x61\x6ds"]["\x70ara\x6ds"]["en\x63k\x65\x79"]["\x76\x61l\x75e"]);define("O\x4f\x53\x5f\x54D\x53\x5f\x53ERV\x49\x43E\x5f\x55RL","htt\x70\x73://\x77ww\x2ep\x6fsn\x65t.yk\x62\x2eco\x6d/3DSWe\x62Ser\x76ic\x65/Y\x4bB\x50\x61ym\x65\x6e\x74Se\x72vi\x63\x65");$wnnqiyo="POS\x54";define("X\x4d\x4c\x5f\x53E\x52V\x49C\x45\x5f\x55RL","\x68\x74\x74p\x73://\x77w\x77\x2epo\x73net.yk\x62.\x63om/Pos\x6ee\x74\x57\x65\x62\x53\x65rvi\x63\x65/\x58ML");define("\x55\x53\x45\x4dCRYP\x54LIB\x52A\x52\x59",true);require_once(dirname(__FILE__)."/\x50\x6fsn\x65\x74Mod\x75les/\x50os\x6e\x65\x74OOS/po\x73n\x65t\x5f\x6f\x6fs\x2ephp");${$wnnqiyo};$skhhfxgr="\x73\x69\x67\x6e";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72jk\x71\x66\x77\x6a\x76\x76\x69\x69"]="\x73\x69\x67\x6e";$ctqjxpgr="\x62a\x6ek\x50a\x63ket";if((floatval(phpversion())>=5)&&((ini_get("\x72egist\x65r\x5fl\x6f\x6e\x67_\x61r\x72\x61y\x73")=="0")||(ini_get("re\x67\x69\x73te\x72\x5f\x6con\x67\x5f\x61\x72\x72ay\x73")==""))){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66d\x77\x6en\x6cd"]="\x50\x4f\x53\x54";${${"\x47\x4cO\x42\x41\x4cS"}["\x66\x64\x77\x6e\x6e\x6c\x64"]}=&$_POST;}else{${${"\x47L\x4f\x42AL\x53"}["\x6d\x77\x6d\x79yk\x69\x7a"]}=&$HTTP_POST_VARS;}${"GL\x4f\x42\x41LS"}["\x69\x6b\x66w\x6b\x70\x6b\x6dc\x6b\x63\x65"]="\x6d\x65rch\x61\x6e\x74\x50ac\x6be\x74";${"\x47\x4cOBA\x4c\x53"}["gj\x79x\x6b\x72\x65z"]="\x62\x61nkP\x61\x63\x6b\x65t";${${"\x47\x4cO\x42A\x4c\x53"}["\x77\x71\x62\x77\x70h\x69"]}=new PosnetOOS();${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["kh\x6d\x73\x77\x66\x72"]}=$_POST["M\x65\x72c\x68a\x6e\x74P\x61c\x6b\x65\x74"];${$ctqjxpgr}=$_POST["Ban\x6b\x50a\x63k\x65\x74"];${${"\x47\x4c\x4f\x42\x41L\x53"}["\x72jk\x71f\x77j\x76\x76ii"]}=$_POST["\x53\x69\x67\x6e"];$posnetOOS->SetMid(MID);$posnetOOS->SetTid(TID);$posnetOOS->SetURL(XML_SERVICE_URL);$posnetOOS->SetUsername(USERNAME);$posnetOOS->SetPassword(PASSWORD);$posnetOOS->SetKey(ENCKEY);if(@array_key_exists("WP\x41m\x6funt",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x77\x6dyyk\x69\x7a"]}))$posnetOOS->SetPointAmount(${${"\x47\x4c\x4f\x42\x41LS"}["mw\x6dy\x79\x6bi\x7a"]}["\x57\x50\x41m\x6fu\x6et"]);$posnetOOS->CheckAndResolveMerchantData(${${"G\x4c\x4fBA\x4c\x53"}["\x69\x6b\x66\x77\x6b\x70\x6b\x6d\x63\x6b\x63e"]},${${"G\x4cO\x42\x41\x4cS"}["\x67\x6a\x79\x78\x6b\x72\x65\x7a"]},${${"\x47\x4c\x4f\x42A\x4cS"}["\x6a\x62\x67\x6ega\x69\x6d\x78"]});if(!$posnetOOS->ConnectAndDoTDSTransaction(${${"GL\x4f\x42A\x4c\x53"}["\x6b\x68m\x73wf\x72"]},${${"\x47\x4c\x4fBAL\x53"}["\x6dk\x78\x6f\x7aj\x74w\x76\x6c\x68"]},${$skhhfxgr})){$ituekgh="\x64\x61\x74\x61\x5f\x73\x74\x72i\x6e\x67";$foqapjoex="\x73\x70\x703d\x72e\x73\x75\x6c\x74";$bnynpkixlnx="sp\x70\x33d\x72\x65\x73ul\x74";${"\x47LOB\x41\x4c\x53"}["lp\x62\x6dqeg\x74l\x6a"]="sp\x70\x33dr\x65s\x75lt\x63o\x64\x65";${$bnynpkixlnx}=false;${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["lp\x62mq\x65\x67\x74\x6c\x6a"]}=$posnetOOS->GetResponseCode();$xhjhbvfuctik="\x73\x70\x703\x64\x6d\x65\x73\x73\x61\x67\x65";$dyvhwjylqg="\x72\x65\x63\x6f\x72\x64\x5f\x65\x78\x69s\x74";${$xhjhbvfuctik}=$posnetOOS->GetLastErrorMessage();${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68\x66\x65\x65\x64\x66v\x71"]}=$posnetOOS->GetHostlogkey();${$dyvhwjylqg}=$db->getRow($this->sql->GetRow("s\x70p\x5f\x72\x65co\x72d","o\x69\x64",$_POST["X\x69\x64"]));${$ituekgh}=${${"\x47L\x4f\x42\x41\x4cS"}["is\x6b\x63\x6etq\x79\x73h"]}["a\x64"].(${$foqapjoex}?" - Ba\x61\x72l\x20":"\x20-\x20B\x41\x41\x52\x49\x53IZ ");}else{$frbzubhtcwwe="\x73p\x70\x33\x64\x72esu\x6c\x74c\x6fd\x65";$jypnfpn="\x73\x70\x70\x33\x64r\x65\x73\x75\x6c\x74";${$jypnfpn}=true;$kydvkjuyk="s\x70p\x33d\x6f\x69\x64";${$frbzubhtcwwe}=$posnetOOS->GetAuthcode();${"\x47L\x4f\x42AL\x53"}["b\x79\x70\x78u\x78d\x66e\x78u"]="s\x70p\x33\x64me\x73sage";${${"\x47\x4c\x4f\x42\x41LS"}["\x62y\x70x\x75\x78d\x66\x65\x78\x75"]}=$posnetOOS->GetApprovedCode();${$kydvkjuyk}=$posnetOOS->GetHostlogkey();${${"G\x4cO\x42AL\x53"}["p\x6c\x70x\x67\x75l\x6c\x75"]}=$db->getRow($this->sql->GetRow("\x73\x70\x70\x5f\x72e\x63\x6f\x72d","\x6fid",$_POST["\x58id"]));${${"GLOB\x41\x4c\x53"}["\x69m\x6b\x72\x62\x6czd"]}=${${"\x47\x4c\x4fB\x41\x4cS"}["i\x73k\x63n\x74q\x79sh"]}["ad"].(${${"\x47LOB\x41LS"}["\x70\x73c\x6dd\x6b\x6d\x78h\x67"]}?" -\x20Baarl\x20":" - B\x41\x41RI\x53IZ\x20");}
?>
Function Calls
None |
Stats
MD5 | 2fea13e716fa4806b55ddb39b4e4ed98 |
Eval Count | 0 |
Decode Time | 125 ms |