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\x42AL\x53"}["\x78g\x6f\x67\x61\x72\x6e\x73\x75ei"]="sq\x6c";${"G\x4c\x4..

Decoded Output download

<?php ${"GLOBALS"}["xgogarnsuei"]="sql";${"GLOBALS"}["dolhwfwor"]="query";$uprwdxuix="sql";${${"GLOBALS"}["xgogarnsuei"]}=array();${$uprwdxuix}[]="CREATE TABLE IF NOT EXISTS `"._DB_PREFIX_."sodexopayment_transaction` (
  `id_transaction` int(11) NOT NULL AUTO_INCREMENT,
  `id_cart` int(11) NOT NULL,
  `id_currency` int(11) NOT NULL,
  `id_customer` int(11) NOT NULL,
  `id_order` int(11) NOT NULL,
  `c_id_order` int(10) DEFAULT NULL,
  `currency_code` varchar(10) DEFAULT NULL,
  `currency_num_code` varchar(10) DEFAULT NULL,
  `result` enum('0','1','2') NOT NULL DEFAULT '0',
  `result_message` text DEFAULT NULL,
  `test_mode` enum('0','1') NOT NULL DEFAULT '0',
  `amount` decimal(8,2) NOT NULL,
  `rrn` varchar(50) DEFAULT NULL,
  `service_id` varchar(20) DEFAULT NULL,
  `transaction_enc_id` varchar(20) DEFAULT NULL,
  `custommer_ip` varchar(20) DEFAULT NULL,
  `custommer_phone` varchar(10) DEFAULT NULL,
  `otp_code` varchar(10) DEFAULT NULL,
  `cart` text DEFAULT NULL,
  `response` text DEFAULT NULL,
  `date_update` datetime DEFAULT NULL ON UPDATE current_timestamp(),
  `date_create` datetime DEFAULT NULL,
  PRIMARY KEY (`id_transaction`)
) ENGINE = "._MYSQL_ENGINE_." DEFAULT CHARSET=utf8;";foreach(${${"GLOBALS"}["xgogarnsuei"]} as${${"GLOBALS"}["dolhwfwor"]}){${"GLOBALS"}["nribpeonj"]="query";if(Db::getInstance()->execute(${${"GLOBALS"}["nribpeonj"]})==false){return false;}} 
?>

Did this file decode correctly?

Original Code

<?php ${"G\x4c\x4f\x42AL\x53"}["\x78g\x6f\x67\x61\x72\x6e\x73\x75ei"]="sq\x6c";${"G\x4c\x4f\x42\x41L\x53"}["\x64\x6f\x6chw\x66w\x6f\x72"]="\x71\x75er\x79";$uprwdxuix="\x73\x71l";${${"\x47\x4cOB\x41\x4c\x53"}["x\x67\x6f\x67\x61\x72n\x73\x75\x65\x69"]}=array();${$uprwdxuix}[]="C\x52\x45\x41\x54E T\x41BLE \x49\x46\x20N\x4f\x54 EX\x49\x53\x54\x53\x20\x60"._DB_PREFIX_."\x73\x6fd\x65x\x6f\x70ay\x6d\x65nt\x5f\x74r\x61\x6e\x73a\x63tion`\x20(\n \x20`\x69d_\x74\x72\x61ns\x61\x63t\x69o\x6e` \x69\x6et(1\x31)\x20\x4eOT N\x55LL AU\x54\x4f\x5f\x49\x4e\x43\x52\x45ME\x4eT,\n  \x60\x69\x64\x5f\x63\x61\x72\x74`\x20\x69nt(1\x31)\x20\x4e\x4fT NU\x4cL,\n \x20\x60i\x64_c\x75r\x72en\x63\x79\x60 i\x6e\x74(1\x31) NO\x54 NU\x4cL,\n\x20 `\x69d_custo\x6d\x65r\x60\x20int(11) \x4e\x4f\x54\x20\x4eU\x4cL,\n \x20`\x69d_\x6frder`\x20\x69n\x74(\x311)\x20NOT\x20\x4eU\x4cL,\n\x20 \x60\x63_i\x64_o\x72\x64er\x60 i\x6e\x74(\x31\x30)\x20\x44\x45FAULT\x20\x4eU\x4c\x4c,\n \x20`\x63urrenc\x79_c\x6f\x64e\x60\x20va\x72\x63h\x61\x72(\x31\x30)\x20\x44\x45FA\x55L\x54 N\x55LL,\n  \x60\x63\x75rre\x6e\x63\x79\x5fn\x75m\x5fco\x64\x65\x60\x20varcha\x72(1\x30)\x20\x44\x45\x46A\x55L\x54 \x4e\x55LL,\n  \x60\x72esul\x74`\x20\x65\x6eu\x6d(\x27\x30',\x271','2')\x20\x4e\x4fT NU\x4cL\x20DEF\x41U\x4cT\x20'\x30\x27,\n  \x60r\x65\x73ult_m\x65s\x73age`\x20t\x65x\x74\x20D\x45FAU\x4c\x54\x20\x4e\x55\x4cL,\n \x20`tes\x74_\x6d\x6f\x64e\x60 \x65n\x75m('\x30',\x27\x31')\x20\x4eOT NU\x4c\x4c\x20\x44EFAUL\x54\x20\x27\x30',\n\x20\x20`\x61m\x6f\x75n\x74`\x20\x64eci\x6dal(\x38,2)\x20NO\x54 NUL\x4c,\n  \x60rr\x6e\x60\x20va\x72\x63\x68a\x72(\x35\x30) D\x45FAUL\x54\x20\x4eULL,\n\x20 \x60se\x72v\x69\x63e_\x69d\x60\x20v\x61rch\x61r(20) DE\x46A\x55\x4c\x54 \x4e\x55L\x4c,\n  \x60\x74ran\x73\x61ction\x5f\x65n\x63_id\x60\x20\x76a\x72\x63h\x61\x72(20)\x20\x44\x45F\x41ULT\x20N\x55L\x4c,\n \x20\x60cust\x6fm\x6der_ip\x60 v\x61rch\x61r(20) \x44E\x46\x41\x55L\x54\x20NUL\x4c,\n \x20`\x63us\x74\x6fmm\x65\x72\x5f\x70\x68\x6fn\x65\x60 var\x63\x68\x61r(\x31\x30) D\x45\x46A\x55\x4c\x54 NUL\x4c,\n\x20 `ot\x70_\x63o\x64\x65\x60 \x76a\x72cha\x72(\x310)\x20D\x45\x46\x41U\x4c\x54\x20N\x55\x4c\x4c,\n  `\x63\x61\x72\x74` \x74\x65\x78\x74\x20DE\x46A\x55\x4c\x54\x20\x4eU\x4c\x4c,\n\x20 `\x72es\x70\x6fn\x73\x65` t\x65x\x74\x20DE\x46A\x55LT NULL,\n  `d\x61t\x65_u\x70\x64a\x74e\x60\x20d\x61\x74\x65t\x69me\x20\x44E\x46\x41ULT\x20\x4e\x55\x4c\x4c \x4f\x4e\x20U\x50DA\x54\x45\x20\x63\x75rr\x65\x6et_t\x69mes\x74amp(),\n \x20\x60dat\x65\x5f\x63re\x61te` \x64\x61t\x65\x74im\x65\x20DEFAULT NU\x4cL,\n\x20\x20\x50R\x49\x4d\x41RY\x20\x4bEY\x20(\x60\x69\x64\x5f\x74\x72\x61\x6e\x73\x61\x63t\x69\x6f\x6e`)\n)\x20\x45\x4e\x47\x49\x4e\x45\x20\x3d\x20"._MYSQL_ENGINE_." \x44E\x46AU\x4c\x54 CH\x41\x52\x53ET=ut\x66\x38;";foreach(${${"\x47L\x4fB\x41L\x53"}["\x78\x67\x6f\x67\x61\x72\x6e\x73\x75\x65i"]} as${${"G\x4cOBA\x4cS"}["\x64o\x6c\x68\x77f\x77\x6fr"]}){${"\x47\x4cO\x42ALS"}["\x6e\x72i\x62p\x65on\x6a"]="q\x75e\x72\x79";if(Db::getInstance()->execute(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x72\x69b\x70\x65o\x6ej"]})==false){return false;}}
?>

Function Calls

None

Variables

None

Stats

MD5 45bbd785204d64c983f4141dde8e8ca4
Eval Count 0
Decode Time 69 ms