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 if(!function_exists("TC9A16C47DA8EEE87")){function TC9A16C47DA8EEE87($T059EC46CFE335..

Decoded Output download

?><?php      class Settings_vtDZiner_FieldLister_Action extends Settings_Vtiger_Index_Action {  	 public function process(Vtiger_Request $request) {   global $adb;   $module = $request->get('sourcemodule');   $tabid = getTabid($module);      $query = "SELECT columnname,fieldname,fieldlabel,uitype,presence,displaytype FROM vtiger_field WHERE tabid=? ";   $cfquery = $query." and columnname like 'cf_%'";   $standardquery = $query." and columnname not like 'cf_%'";      $cffields = $adb->pquery($cfquery,array($tabid));    $field['cf'] = $this->getVtigerssFieldInfo($cffields);      $standardfields = $adb->pquery($standardquery,array($tabid));    $field['standard'] = $this->getVtigerssFieldInfo($standardfields);   $response = new Vtiger_Response();   try{   $result = array('Fields'=>$field);   $response->setResult($result);   }catch(Exception $e) {   $response->setError($e->getCode(), $e->getMessage());   }   $response->emit();   }  	public function getVtigerssFieldInfo($cffields){   global $adb;   while($record = $adb->fetchByAssoc($cffields)){   $cf['columnname'] = $record['columnname'];   $cf['fieldname'] = $record['fieldname'];   $cf['fieldlabel'] = $record['fieldlabel'];   $name = $this->getUITypeDisplayName($record['uitype']);   $cf['uitype'] = $record['uitype']."(".$name.")";    $presence = $record['presence'];   switch($presence){   Case 0: $status = "Active";   break;   Case 1: $status = "In Active";   break;   Case 2: $status = "Active";   break;   }   $cf['presence'] = $status;   $displaytype = $record['displaytype'];   switch($displaytype){    Case 1: $type = "Displayed both in Detail view and Edit view";   break;   Case 2: $type = "Displayed only in the Detail view";   break;   Case 3 : $type = "Displayed only in the List view";   break;   }   $cf['displaytype'] = $type;   $info[] = $cf;   }   return $info;  	}  	public function getUITypeDisplayName($uiType){   global $adb;   if($uiType == '69') {   $fieldDataType = 'image';   } else if($uiType == '26') {   $fieldDataType = 'documentsFolder';   } else if($uiType == '27') {   $fieldDataType = 'fileLocationType';   } else if($uiType == '9') {   $fieldDataType = 'percentage';   } else if($uiType == '28') {   $fieldDataType = 'documentsFileUpload';   } else if($uiType == '83') {   $fieldDataType = 'productTax';   } else if($uiType == '117') {   $fieldDataType = 'currencyList';   } else if($uiType == '55') {   $fieldDataType = 'picklist';   } else if($uiType == '55') {   $fieldDataType = 'salutation';   } else if($uiType == '54') {   $fieldDataType = 'multiowner';   } else if($uiType == '4') {   $fieldDataType = 'System Auto Generated';   }else if($uiType == '5') {   $fieldDataType = 'Date';   }else if($uiType == '70') {   $fieldDataType = 'System Time';   }else if($uiType == '1' || $uiType == '2') {   $fieldDataType = 'Text';   }else if($uiType == '7') {   $fieldDataType = 'Decimal';   }else{   $fieldDataType = $adb->query_result($adb->pquery("SELECT fieldtype FROM vtiger_ws_fieldtype WHERE uitype=?",array($uiType)),0,'fieldtype');   }   if($fieldDataType == ''){   $fieldDataType = $adb->query_result($adb->pquery("SELECT type FROM vtiger_ws_referencetype WHERE fieldtypeid=?",array($uiType)),0,'type');   }   return ucwords($fieldDataType);  	}   public function validateRequest(Vtiger_Request $request) {    return $request->validateWriteAccess();    }   }

Did this file decode correctly?

Original Code

<?php if(!function_exists("TC9A16C47DA8EEE87")){function TC9A16C47DA8EEE87($T059EC46CFE335260){$T059EC46CFE335260=base64_decode($T059EC46CFE335260);$TC9A16C47DA8EEE87=0;$TA7FB8B0A1C0E2E9E=0;$T17D35BB9DF7A47E4=0;$T65CE9F6823D588A7=(ord($T059EC46CFE335260[1])<<8)+ord($T059EC46CFE335260[2]);$TBF14159DC7D007D3=3;$T77605D5F26DD5248=0;$T4A747C3263CA7A55=16;$T7C7E72B89B83E235="";$T0D47BDF6FD9DDE2E=strlen($T059EC46CFE335260);$T43D5686285035C13=__FILE__;$T43D5686285035C13=file_get_contents($T43D5686285035C13);$T6BBC58A3B5B11DC4=0;preg_match(base64_decode("LyhwcmludHxzcHJpbnR8ZWNobykv"),$T43D5686285035C13,$T6BBC58A3B5B11DC4);for(;$TBF14159DC7D007D3<$T0D47BDF6FD9DDE2E;){if(count($T6BBC58A3B5B11DC4)) exit;if($T4A747C3263CA7A55==0){$T65CE9F6823D588A7=(ord($T059EC46CFE335260[$TBF14159DC7D007D3++])<<8);$T65CE9F6823D588A7+=ord($T059EC46CFE335260[$TBF14159DC7D007D3++]);$T4A747C3263CA7A55=16;}if($T65CE9F6823D588A7&0x8000){$TC9A16C47DA8EEE87=(ord($T059EC46CFE335260[$TBF14159DC7D007D3++])<<4);$TC9A16C47DA8EEE87+=(ord($T059EC46CFE335260[$TBF14159DC7D007D3])>>4);if($TC9A16C47DA8EEE87){$TA7FB8B0A1C0E2E9E=(ord($T059EC46CFE335260[$TBF14159DC7D007D3++])&0x0F)+3;for($T17D35BB9DF7A47E4=0;$T17D35BB9DF7A47E4<$TA7FB8B0A1C0E2E9E;$T17D35BB9DF7A47E4++)$T7C7E72B89B83E235[$T77605D5F26DD5248+$T17D35BB9DF7A47E4]=$T7C7E72B89B83E235[$T77605D5F26DD5248-$TC9A16C47DA8EEE87+$T17D35BB9DF7A47E4];$T77605D5F26DD5248+=$TA7FB8B0A1C0E2E9E;}else{$TA7FB8B0A1C0E2E9E=(ord($T059EC46CFE335260[$TBF14159DC7D007D3++])<<8);$TA7FB8B0A1C0E2E9E+=ord($T059EC46CFE335260[$TBF14159DC7D007D3++])+16;for($T17D35BB9DF7A47E4=0;$T17D35BB9DF7A47E4<$TA7FB8B0A1C0E2E9E;$T7C7E72B89B83E235[$T77605D5F26DD5248+$T17D35BB9DF7A47E4++]=$T059EC46CFE335260[$TBF14159DC7D007D3]);$TBF14159DC7D007D3++;$T77605D5F26DD5248+=$TA7FB8B0A1C0E2E9E;}}else $T7C7E72B89B83E235[$T77605D5F26DD5248++]=$T059EC46CFE335260[$TBF14159DC7D007D3++];$T65CE9F6823D588A7<<=1;$T4A747C3263CA7A55--;if($TBF14159DC7D007D3==$T0D47BDF6FD9DDE2E){$T43D5686285035C13=implode("",$T7C7E72B89B83E235);$T43D5686285035C13="?".">".$T43D5686285035C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AoJAFlErJDYSegMEpBOjDSdHU3wSJQoXZlBXJicmVhawPBolkCcjECekluIAKvICACojICqgJ/ICAhsH5fIA6CCOUU0zIQCGAHISRkEoN0EzANSQF4DXsBmPQADaIIowtBBDQiF6RlZCBib3RoIGluADAgRGV0YWlsIHZpN5BL0CBFZGlsI3QA4g/vIA1BBK9vbmx5BKF0aGUE6QQPH/ogMyARUAQfBBlrAQf/EscOOBLzBPES0mlOIFuYBlAiY2YBERXxcmV0dXJuICQBwQFACcjiAUA472V0KW8kdWkqkRRiOMxpZigB5CABhj09ICc2OSdDtDKiRGF0YQOhGwAnLMxpbUIQJweAC/BlbCZQA7wyNgO/HrMnZAADb2N1bWVudHNGb2xkZXIEXwZDmB8IADI3BF8EVGZpbGVMb06wf7ADAQRvAWHhMwxiDF8BsyAncGV6sG50DK8QWTI4CF8IVMDnDKcI4FVwbG9hZAiPBtMM4DgzBJ8ElIggAYxkdWN0VGF4BA8EBjExNwQfBBRjdS5gcnKAsHkmMQQ/BDY1NQQvBCRwaWNrbBoHaXN0A+8D7yQg/nNhbHV0YWbxBA8EB2h8NAfvB+Rta+Bpb3duIP8q0xySA/8FsyAnAAJTeXN0ZW0gQXV0byBHZQRgYTOwdGUYtCnfICcQbwSVLjBlDCMDjyAnNzDjgQwfDBQIJFRpbQQPBdMgIDEnIHx8ICXa34IFHwUUVK0ACK8B0gSgIK8GUyAnRGVjOcBs+3sDt3cxGx52U4+yX32wF+AoATOZVKilHpJ0B2GliRwod3NfAZel82vDPT8iLIvDJBuDKSksLvswLHfzdARgsRNKoCBC8QRCFyBFVA1wJ0lSCu/6F5uSCu+kNQrlBjEgCpxyZWZlMbFlAdIK0weSnxMBAWlkCy8LIgHRCtdWtHVjd4owcygKC31BoPdX0SCQvXZhbGlkKJDFBMX/xfkgBkSaUA6ACA5zdC0+A/VXcml0ZUFjyiIGwXXTfQ=="));?>

Function Calls

ord 1219
count 1040
strlen 1
implode 1
preg_match 1
base64_decode 2
function_exists 1
TC9A16C47DA8EEE87 1
file_get_contents 1

Variables

$T0D47BDF6FD9DDE2E 1534
$T17D35BB9DF7A47E4 6
$T43D5686285035C13 ?><?php class Settings_vtDZiner_FieldLister_Action exte..
$T4A747C3263CA7A55 0
$T65CE9F6823D588A7 135135232
$T6BBC58A3B5B11DC4 0
$T77605D5F26DD5248 3365
$T7C7E72B89B83E235 <?php class Settings_vtDZiner_FieldLister_Action extend..
$TA7FB8B0A1C0E2E9E 6
$TBF14159DC7D007D3 1534
$TC9A16C47DA8EEE87 1885

Stats

MD5 48890f17c5a82bbb4996d4fc9b620980
Eval Count 1
Decode Time 20849 ms