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 ${"\x47\x4c\x4f\x42\x41\x4c\x53"}["u\x6dn\x69tl\x72\x72"]="\x71\x75\x61\x6c\x69f\x69..

Decoded Output download

<?php ${"GLOBALS"}["umnitlrr"]="qualifiedModuleName";${"GLOBALS"}["momulzvhxnol"]="primary_module_instance";${"GLOBALS"}["joqxqkfc"]="secondary_module_instance";${"GLOBALS"}["gutbmogch"]="secondary_module";${"GLOBALS"}["bijkfnf"]="block";${"GLOBALS"}["thysedpi"]="primary_module";${"GLOBALS"}["hwufubvvg"]="module";${"GLOBALS"}["qokpjvqb"]="tableName";${"GLOBALS"}["lqkdevyvuzvn"]="focus";${"GLOBALS"}["yxyugex"]="primary_module_block_id";${"GLOBALS"}["dpwsnl"]="result";${"GLOBALS"}["kyvfjfzduc"]="relation_field_name";${"GLOBALS"}["ccqoaewnl"]="PKqtfxGZVP7xWUX";${"GLOBALS"}["xxuvdsjojv"]="secondary_module_id";${"GLOBALS"}["rjrpmcceaqa"]="primary_module_id";${"GLOBALS"}["xxsfhyravpl"]="relation_field_label";class Settings_JBModuleBuilder_SaveRelation_action extends Settings_Vtiger_Index_Action{function process(Vtiger_Request$request){$jyhceyvexcn="primary_module";${"GLOBALS"}["soxsqhyw"]="primary_module";$jmegkmvrpdq="request_variables";${"GLOBALS"}["vdppsx"]="secondary_module";${"GLOBALS"}["leuwlgcmsvq"]="ModuleName";global$adb;${${"GLOBALS"}["leuwlgcmsvq"]}=$request->getModule();${"GLOBALS"}["fxznzlmicr"]="secondary_module";$ubnybx="qualifiedModuleName";${"GLOBALS"}["sjtbppxhxj"]="module_instance";${"GLOBALS"}["hyzdkun"]="relation";${$ubnybx}=$request->getModule(false);${$jyhceyvexcn}=$request->get("primary_module");${${"GLOBALS"}["vdppsx"]}=$request->get("secondary_module");${${"GLOBALS"}["hyzdkun"]}=$request->get("relation");${${"GLOBALS"}["xxsfhyravpl"]}=$request->get("relation_field_label");${${"GLOBALS"}["sjtbppxhxj"]}=new JBModuleBuilder_Module_Model();${$jmegkmvrpdq}=$module_instance->focus_entity($this);$ijymmbrvg="ModuleName";${"GLOBALS"}["veripvn"]="request_variables";extract(${${"GLOBALS"}["veripvn"]});${${"GLOBALS"}["rjrpmcceaqa"]}=getTabid(${${"GLOBALS"}["soxsqhyw"]});${${"GLOBALS"}["xxuvdsjojv"]}=getTabid(${${"GLOBALS"}["fxznzlmicr"]});if(${${"GLOBALS"}["ccqoaewnl"]}){$igfnvilxhekl="relation";$ofukmzidad="relation";if(${$igfnvilxhekl}=="N_1"){${"GLOBALS"}["qeshcsfy"]="relation_field_label";$yrnrvpmrs="relation_field_label";${$yrnrvpmrs}=strtolower(preg_replace("/[^A-Za-z0-9\ ]/","",${${"GLOBALS"}["qeshcsfy"]}));${"GLOBALS"}["vjfhldbpseop"]="row";${"GLOBALS"}["rnswslhbro"]="result";$tottmy="primary_module";${"GLOBALS"}["ieczdwcsq"]="relation_field_label";${"GLOBALS"}["inqkdzrmmc"]="row";${${"GLOBALS"}["kyvfjfzduc"]}=strtolower(preg_replace("/[^A-Za-z0-9\-]/","_",${${"GLOBALS"}["ieczdwcsq"]}));${${"GLOBALS"}["kyvfjfzduc"]}=strtolower(preg_replace("/_+/","_",${${"GLOBALS"}["kyvfjfzduc"]}));${${"GLOBALS"}["rnswslhbro"]}=$adb->pquery("SELECT blockid FROM vtiger_blocks WHERE tabid = ? LIMIT 1",array(${${"GLOBALS"}["rjrpmcceaqa"]}));${"GLOBALS"}["ksedithu"]="primary_module_block_id";${"GLOBALS"}["ptauujj"]="tableName";${${"GLOBALS"}["vjfhldbpseop"]}=$adb->fetchByAssoc(${${"GLOBALS"}["dpwsnl"]});${"GLOBALS"}["upiivanxn"]="relation_field_name";${${"GLOBALS"}["yxyugex"]}=${${"GLOBALS"}["inqkdzrmmc"]}["blockid"];${${"GLOBALS"}["lqkdevyvuzvn"]}=CRMEntity::getInstance(${$tottmy});$ftnocbg="field1";${${"GLOBALS"}["qokpjvqb"]}=$focus->table_name;$vmjzgychka="relation_field_name";${${"GLOBALS"}["hwufubvvg"]}=Vtiger_Module::getInstance(${${"GLOBALS"}["thysedpi"]});${"GLOBALS"}["acyxisje"]="field1";${${"GLOBALS"}["bijkfnf"]}=Vtiger_Block::getInstance(${${"GLOBALS"}["ksedithu"]});${${"GLOBALS"}["acyxisje"]}=new Vtiger_Field();$field1->name=${$vmjzgychka};$field1->label=${${"GLOBALS"}["xxsfhyravpl"]};$field1->table=${${"GLOBALS"}["ptauujj"]};$field1->column=${${"GLOBALS"}["upiivanxn"]};${"GLOBALS"}["tdxrybyfbu"]="primary_module";$field1->columntype="VARCHAR(255)";$field1->generatedtype=2;$field1->uitype=10;$field1->typeofdata="I~O";$field1->helpinfo="";$block->addField(${$ftnocbg});$field1->setRelatedModules(Array(${${"GLOBALS"}["gutbmogch"]}=>${${"GLOBALS"}["tdxrybyfbu"]}));}elseif(${$ofukmzidad}=="N_N"){$furkzjfw="primary_module_instance";$iuzxuuue="secondary_module_instance";${$furkzjfw}=Vtiger_Module::getInstance(${${"GLOBALS"}["thysedpi"]});${${"GLOBALS"}["joqxqkfc"]}=Vtiger_Module::getInstance(${${"GLOBALS"}["gutbmogch"]});$primary_module_instance->setRelatedList(${$iuzxuuue},$secondary_module_instance->label,array("add"));$secondary_module_instance->setRelatedList(${${"GLOBALS"}["momulzvhxnol"]},$primary_module_instance->label,array("add"));}}${$ijymmbrvg}=$request->getModule();${${"GLOBALS"}["umnitlrr"]}=$request->getModule(false);header("Location: index.php?module=$ModuleName&parent=Settings&view=Index&relationsave=success");}} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4c\x4f\x42\x41\x4c\x53"}["u\x6dn\x69tl\x72\x72"]="\x71\x75\x61\x6c\x69f\x69\x65\x64\x4d\x6fd\x75l\x65Na\x6d\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["m\x6f\x6d\x75\x6c\x7av\x68\x78\x6e\x6fl"]="\x70ri\x6d\x61ry\x5f\x6dod\x75\x6ce_i\x6e\x73\x74\x61\x6ec\x65";${"\x47\x4c\x4f\x42A\x4c\x53"}["j\x6fqx\x71\x6b\x66\x63"]="sec\x6fn\x64\x61\x72y_\x6do\x64\x75l\x65\x5fin\x73t\x61n\x63\x65";${"G\x4c\x4f\x42A\x4c\x53"}["\x67\x75\x74bm\x6f\x67\x63\x68"]="s\x65\x63\x6f\x6edar\x79_m\x6fd\x75\x6ce";${"G\x4cO\x42\x41\x4c\x53"}["\x62\x69\x6a\x6b\x66\x6e\x66"]="\x62\x6co\x63\x6b";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["t\x68yse\x64p\x69"]="\x70\x72\x69\x6d\x61r\x79\x5f\x6d\x6f\x64u\x6c\x65";${"G\x4cOB\x41\x4c\x53"}["\x68\x77\x75\x66u\x62\x76\x76\x67"]="\x6d\x6f\x64\x75l\x65";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x71\x6f\x6bpjv\x71\x62"]="t\x61\x62\x6c\x65\x4e\x61\x6d\x65";${"\x47L\x4f\x42\x41L\x53"}["l\x71\x6bde\x76\x79\x76u\x7a\x76\x6e"]="f\x6f\x63u\x73";${"G\x4cOB\x41\x4c\x53"}["\x79\x78\x79\x75\x67e\x78"]="\x70\x72ima\x72\x79\x5f\x6d\x6f\x64u\x6ce\x5fb\x6c\x6fck_\x69\x64";${"GL\x4f\x42\x41L\x53"}["d\x70\x77s\x6el"]="\x72\x65s\x75l\x74";${"\x47\x4c\x4f\x42\x41L\x53"}["\x6by\x76\x66\x6a\x66\x7ad\x75\x63"]="\x72\x65\x6cat\x69\x6f\x6e\x5f\x66ie\x6c\x64\x5f\x6e\x61me";${"\x47\x4c\x4fB\x41\x4cS"}["\x63\x63q\x6f\x61e\x77\x6e\x6c"]="\x50\x4b\x71t\x66\x78\x47\x5aV\x50\x37\x78W\x55X";${"\x47\x4cOB\x41\x4cS"}["\x78\x78u\x76\x64\x73\x6a\x6f\x6a\x76"]="\x73e\x63\x6f\x6ed\x61\x72\x79_\x6do\x64\x75le_\x69d";${"\x47LOB\x41LS"}["rj\x72\x70\x6d\x63c\x65aq\x61"]="pr\x69\x6d\x61\x72y\x5fmodul\x65\x5fid";${"G\x4cO\x42\x41L\x53"}["\x78\x78\x73f\x68\x79r\x61\x76\x70\x6c"]="\x72e\x6cat\x69\x6f\x6e\x5f\x66i\x65l\x64\x5f\x6c\x61\x62\x65\x6c";class Settings_JBModuleBuilder_SaveRelation_action extends Settings_Vtiger_Index_Action{function process(Vtiger_Request$request){$jyhceyvexcn="\x70\x72imary\x5fmod\x75\x6c\x65";${"GL\x4f\x42A\x4c\x53"}["\x73\x6f\x78s\x71hyw"]="\x70r\x69m\x61\x72\x79\x5f\x6dod\x75\x6c\x65";$jmegkmvrpdq="re\x71u\x65s\x74_\x76a\x72\x69a\x62\x6c\x65\x73";${"\x47\x4c\x4f\x42ALS"}["\x76d\x70\x70\x73x"]="\x73\x65\x63\x6f\x6ed\x61\x72\x79\x5f\x6dodul\x65";${"\x47L\x4f\x42A\x4cS"}["\x6ce\x75\x77\x6cgcm\x73\x76\x71"]="M\x6f\x64\x75l\x65N\x61\x6de";global$adb;${${"\x47L\x4f\x42A\x4c\x53"}["\x6c\x65uw\x6c\x67cmsvq"]}=$request->getModule();${"G\x4cO\x42\x41\x4c\x53"}["\x66\x78zn\x7al\x6d\x69\x63r"]="\x73\x65co\x6ed\x61r\x79\x5f\x6do\x64ul\x65";$ubnybx="\x71u\x61\x6c\x69\x66i\x65\x64\x4d\x6fd\x75leN\x61m\x65";${"\x47\x4c\x4fB\x41L\x53"}["\x73j\x74bpp\x78\x68\x78j"]="\x6do\x64ul\x65\x5f\x69n\x73\x74\x61\x6ece";${"\x47\x4c\x4fBA\x4c\x53"}["\x68yz\x64kun"]="\x72\x65\x6c\x61t\x69on";${$ubnybx}=$request->getModule(false);${$jyhceyvexcn}=$request->get("\x70\x72i\x6d\x61\x72y_\x6d\x6fd\x75\x6ce");${${"\x47\x4c\x4fB\x41L\x53"}["vd\x70ps\x78"]}=$request->get("s\x65\x63o\x6ed\x61r\x79_\x6dod\x75\x6ce");${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x68\x79\x7a\x64\x6bun"]}=$request->get("\x72\x65l\x61\x74ion");${${"\x47LO\x42A\x4c\x53"}["x\x78\x73fh\x79\x72\x61v\x70l"]}=$request->get("re\x6ca\x74\x69\x6f\x6e\x5f\x66i\x65\x6cd\x5f\x6c\x61\x62el");${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["s\x6at\x62pp\x78\x68xj"]}=new JBModuleBuilder_Module_Model();${$jmegkmvrpdq}=$module_instance->focus_entity($this);$ijymmbrvg="\x4do\x64\x75\x6c\x65N\x61\x6de";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x76\x65ri\x70\x76n"]="req\x75\x65\x73\x74\x5f\x76a\x72\x69\x61\x62\x6c\x65\x73";extract(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x65ri\x70vn"]});${${"G\x4cOB\x41L\x53"}["\x72\x6a\x72\x70m\x63\x63\x65a\x71\x61"]}=getTabid(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x73o\x78\x73\x71\x68\x79\x77"]});${${"\x47L\x4fBA\x4cS"}["\x78\x78\x75\x76\x64sj\x6fjv"]}=getTabid(${${"G\x4cO\x42\x41L\x53"}["\x66\x78zn\x7a\x6c\x6di\x63\x72"]});if(${${"\x47\x4cO\x42\x41LS"}["c\x63\x71oa\x65\x77\x6el"]}){$igfnvilxhekl="r\x65\x6c\x61\x74ion";$ofukmzidad="\x72\x65\x6c\x61\x74i\x6f\x6e";if(${$igfnvilxhekl}=="N\x5f1"){${"\x47\x4c\x4f\x42\x41\x4cS"}["\x71\x65s\x68\x63\x73f\x79"]="\x72e\x6c\x61\x74\x69\x6fn_f\x69e\x6cd_l\x61be\x6c";$yrnrvpmrs="\x72\x65l\x61\x74\x69\x6f\x6e\x5f\x66\x69e\x6c\x64\x5fl\x61b\x65\x6c";${$yrnrvpmrs}=strtolower(preg_replace("/[^\x41-\x5a\x61-z0-\x39\x5c\x20]/","",${${"\x47\x4cO\x42\x41L\x53"}["q\x65\x73\x68c\x73\x66\x79"]}));${"\x47LOB\x41\x4c\x53"}["\x76j\x66\x68\x6cd\x62\x70\x73\x65o\x70"]="r\x6fw";${"\x47\x4cOB\x41L\x53"}["\x72\x6e\x73w\x73\x6c\x68\x62\x72\x6f"]="\x72\x65\x73\x75lt";$tottmy="p\x72\x69\x6d\x61\x72\x79\x5f\x6d\x6fd\x75\x6c\x65";${"\x47L\x4f\x42\x41\x4c\x53"}["ie\x63\x7adw\x63\x73q"]="r\x65l\x61t\x69\x6f\x6e\x5f\x66i\x65\x6c\x64_\x6c\x61\x62\x65\x6c";${"\x47L\x4fBA\x4c\x53"}["\x69nq\x6b\x64z\x72mm\x63"]="\x72\x6fw";${${"\x47\x4c\x4fB\x41\x4c\x53"}["k\x79vfj\x66\x7a\x64\x75c"]}=strtolower(preg_replace("/[^\x41-\x5a\x61-z0-\x39\\-]/","_",${${"\x47\x4c\x4fBA\x4c\x53"}["i\x65\x63\x7a\x64wcs\x71"]}));${${"GL\x4f\x42\x41\x4cS"}["\x6b\x79\x76\x66j\x66zd\x75\x63"]}=strtolower(preg_replace("/\x5f+/","_",${${"GL\x4fB\x41\x4c\x53"}["\x6by\x76f\x6a\x66\x7a\x64u\x63"]}));${${"G\x4cO\x42\x41\x4cS"}["r\x6e\x73ws\x6c\x68b\x72o"]}=$adb->pquery("\x53EL\x45C\x54\x20b\x6co\x63\x6bid\x20\x46\x52O\x4d v\x74\x69\x67\x65r\x5fb\x6c\x6fcks W\x48E\x52E\x20\x74\x61\x62\x69\x64 \x3d ? \x4cI\x4dI\x54 1",array(${${"\x47LO\x42\x41\x4c\x53"}["rj\x72\x70\x6d\x63\x63ea\x71\x61"]}));${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x73\x65\x64i\x74h\x75"]="pr\x69\x6d\x61r\x79_\x6d\x6f\x64ul\x65\x5f\x62\x6coc\x6b\x5f\x69\x64";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x70t\x61uu\x6aj"]="t\x61\x62\x6c\x65\x4e\x61\x6de";${${"G\x4cOB\x41\x4c\x53"}["\x76\x6a\x66h\x6c\x64bps\x65\x6f\x70"]}=$adb->fetchByAssoc(${${"\x47\x4cO\x42A\x4c\x53"}["\x64\x70ws\x6el"]});${"\x47\x4c\x4f\x42A\x4cS"}["\x75\x70\x69\x69\x76\x61\x6e\x78n"]="\x72e\x6c\x61\x74\x69\x6f\x6e\x5f\x66\x69e\x6c\x64\x5f\x6e\x61\x6d\x65";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79x\x79\x75\x67\x65\x78"]}=${${"G\x4cO\x42A\x4cS"}["i\x6eq\x6b\x64\x7ar\x6d\x6d\x63"]}["\x62\x6c\x6f\x63ki\x64"];${${"GL\x4f\x42AL\x53"}["l\x71\x6b\x64e\x76\x79\x76\x75z\x76\x6e"]}=CRMEntity::getInstance(${$tottmy});$ftnocbg="\x66\x69\x65\x6c\x64\x31";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71o\x6bp\x6a\x76\x71b"]}=$focus->table_name;$vmjzgychka="r\x65\x6cat\x69o\x6e\x5f\x66\x69\x65\x6c\x64\x5fn\x61\x6d\x65";${${"GL\x4f\x42\x41\x4c\x53"}["hwu\x66\x75\x62\x76v\x67"]}=Vtiger_Module::getInstance(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x74hysed\x70\x69"]});${"G\x4c\x4fB\x41\x4c\x53"}["\x61c\x79x\x69\x73\x6a\x65"]="f\x69\x65\x6cd\x31";${${"\x47LO\x42\x41\x4c\x53"}["\x62\x69\x6ak\x66\x6e\x66"]}=Vtiger_Block::getInstance(${${"\x47L\x4f\x42\x41\x4cS"}["k\x73e\x64\x69\x74\x68u"]});${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["acy\x78i\x73\x6a\x65"]}=new Vtiger_Field();$field1->name=${$vmjzgychka};$field1->label=${${"\x47L\x4f\x42\x41\x4cS"}["\x78x\x73\x66h\x79r\x61vp\x6c"]};$field1->table=${${"\x47\x4cO\x42\x41\x4cS"}["p\x74\x61\x75\x75\x6a\x6a"]};$field1->column=${${"\x47L\x4f\x42AL\x53"}["u\x70i\x69\x76anxn"]};${"G\x4c\x4f\x42\x41\x4c\x53"}["\x74\x64xry\x62yf\x62\x75"]="\x70\x72\x69\x6d\x61\x72\x79_mo\x64\x75\x6c\x65";$field1->columntype="\x56A\x52\x43\x48\x41\x52(\x3255)";$field1->generatedtype=2;$field1->uitype=10;$field1->typeofdata="I\x7e\x4f";$field1->helpinfo="";$block->addField(${$ftnocbg});$field1->setRelatedModules(Array(${${"G\x4cOBA\x4c\x53"}["\x67\x75\x74b\x6do\x67c\x68"]}=>${${"\x47LO\x42AL\x53"}["t\x64x\x72\x79\x62\x79\x66bu"]}));}elseif(${$ofukmzidad}=="N\x5f\x4e"){$furkzjfw="pri\x6d\x61r\x79_\x6d\x6f\x64\x75\x6c\x65\x5f\x69\x6e\x73\x74\x61\x6ece";$iuzxuuue="\x73\x65\x63\x6f\x6ed\x61\x72\x79\x5fm\x6f\x64u\x6c\x65\x5f\x69\x6es\x74\x61n\x63\x65";${$furkzjfw}=Vtiger_Module::getInstance(${${"G\x4c\x4f\x42A\x4cS"}["\x74\x68y\x73\x65\x64\x70\x69"]});${${"GL\x4fB\x41L\x53"}["jo\x71xqk\x66c"]}=Vtiger_Module::getInstance(${${"\x47\x4c\x4fBA\x4cS"}["\x67u\x74bmog\x63h"]});$primary_module_instance->setRelatedList(${$iuzxuuue},$secondary_module_instance->label,array("\x61dd"));$secondary_module_instance->setRelatedList(${${"\x47\x4cO\x42\x41LS"}["\x6dom\x75\x6cz\x76\x68\x78\x6e\x6f\x6c"]},$primary_module_instance->label,array("\x61\x64\x64"));}}${$ijymmbrvg}=$request->getModule();${${"\x47L\x4f\x42\x41LS"}["\x75m\x6e\x69\x74\x6c\x72\x72"]}=$request->getModule(false);header("Lo\x63a\x74\x69\x6fn: index\x2ep\x68p?m\x6f\x64ule=$ModuleName&p\x61\x72\x65nt\x3dS\x65\x74\x74i\x6e\x67\x73\x26vi\x65w=\x49\x6e\x64\x65x\x26r\x65\x6ca\x74\x69o\x6e\x73\x61\x76e\x3d\x73\x75cc\x65\x73s");}}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'umnitlrr', 'value': 'qualifiedModuleName'}, {'key': 'momulzvhxnol', 'value': 'primary_module_instance'}, {'key': 'joqxqkfc', 'value': 'secondary_module_instance'}, {'key': 'gutbmogch', 'value': 'secondary_module'}, {'key': 'bijkfnf', 'value': 'block'}, {'key': 'thysedpi', 'value': 'primary_module'}, {'key': 'hwufubvvg', 'value': 'module'}, {'key': 'qokpjvqb', 'value': 'tableName'}, {'key': 'lqkdevyvuzvn', 'value': 'focus'}, {'key': 'yxyugex', 'value': 'primary_module_block_id'}, {'key': 'dpwsnl', 'value': 'result'}, {'key': 'kyvfjfzduc', 'value': 'relation_field_name'}, {'key': 'ccqoaewnl', 'value': 'PKqtfxGZVP7xWUX'}, {'key': 'xxuvdsjojv', 'value': 'secondary_module_id'}, {'key': 'rjrpmcceaqa', 'value': 'primary_module_id'}, {'key': 'xxsfhyravpl', 'value': 'relation_field_label'}]

Stats

MD5 262ba35ebf2dd69f675bc8100ed7c147
Eval Count 0
Decode Time 136 ms