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 /* __________________________________________________ | Obfuscated by YAK P..

Decoded Output download

<?php 
/*   __________________________________________________ 
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.14  | 
    |              on 2023-09-20 16:12:27              | 
    |    GitHub: https://github.com/pk-fr/yakpro-po    | 
    |__________________________________________________| 
*/ 
 class knm_gpt_chatsDefaults { public static function setupClipboardSettings() { goto KF_rI; KRj3v: tH1ox: return $UP7Cu; goto gmU5s; KF_rI: $yDVx9 = BeanFactory::newBean("Administration"); $GYX4r = $yDVx9->getConfigForModule("knm_gpt_chats"); goto abhMc; qcMVd: Ma_yt: foreach ($UP7Cu as $UeVd1 => $raavG) { $yDVx9->saveSetting("knm_gpt_chats", $UeVd1, $raavG, "base"); lIo5g: } goto KRj3v; abhMc: $UP7Cu = self::getDefaults(); if (empty($GYX4r["is_setup"])) { goto Ma_yt; } goto lgZG6; lgZG6: foreach ($GYX4r as $pl1Vd => $Xpv3B) { $UP7Cu[$pl1Vd] = $Xpv3B; b3iZ9: } ToG11: goto qcMVd; gmU5s: } public static function addDefaults($bSqLP) { goto p1DcK; udBkl: $GYX4r = $yDVx9->getConfigForModule("knm_gpt_chats"); goto f9H2m; f9H2m: $bSqLP = array_merge_recursive($bSqLP, $GYX4r); goto T3xWY; T3xWY: foreach ($bSqLP as $pl1Vd => $raavG) { $yDVx9->saveSetting("knm_gpt_chats", $pl1Vd, $raavG, "base"); gfJlv: } goto pn36D; p1DcK: $yDVx9 = BeanFactory::newBean("Administration"); goto udBkl; pn36D: aemJV: goto zOqeo; zOqeo: } public static function getDefaults($UD9qZ = 0) { goto obtHd; obtHd: if (!($UD9qZ === false)) { goto kg1rk; } goto hWJnq; XqOlZ: kg1rk: goto sNe1g; sNe1g: return array("is_setup" => $UD9qZ, "enabled_modules" => array("Accounts", "Contacts", "Leads", "Opportunities", "Meetings", "Calls", "Leads", "Tasks", "Notes", "Emails"), "autocomplete_fields" => array("Accounts" => array("name", "account_type", "phone_office", "website", "industry"), "Contacts" => array("full_name", "title", "department", "account_name", "phone_work"), "Leads" => array("full_name", "title", "department", "account_name", "phone_work", "lead_source", "lead_source_description"), "Opportunities" => array("name", "account_name", "amount", "sales_stage", "probability", "lost", "next_step", "sales_status", "opportunity_type"), "Meetings" => array("name", "location", "description", "duration_hours", "duration_minutes", "date_start", "date_end", "internal_notes"), "Calls" => array("name", "location", "description", "duration_hours", "duration_minutes", "date_start", "date_end", "internal_notes"), "Tasks" => array("name", "date_due", "date_start", "status", "prority", "parent_name", "parent_type"), "Notes" => array("name", "description", "filename", "parent_name", "contact_name", "assigned_user_name"), "Emails" => array("subject", "description"))); goto OSnNh; hWJnq: $UD9qZ = 0; goto XqOlZ; OSnNh: } } 
 ?>

Did this file decode correctly?

Original Code

<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.14  |
    |              on 2023-09-20 16:12:27              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
 class knm_gpt_chatsDefaults { public static function setupClipboardSettings() { goto KF_rI; KRj3v: tH1ox: return $UP7Cu; goto gmU5s; KF_rI: $yDVx9 = BeanFactory::newBean("\101\144\x6d\x69\156\x69\163\x74\x72\141\164\151\157\156"); $GYX4r = $yDVx9->getConfigForModule("\x6b\x6e\x6d\x5f\147\160\x74\x5f\143\150\141\x74\x73"); goto abhMc; qcMVd: Ma_yt: foreach ($UP7Cu as $UeVd1 => $raavG) { $yDVx9->saveSetting("\x6b\x6e\x6d\x5f\147\160\x74\137\x63\150\x61\x74\163", $UeVd1, $raavG, "\x62\x61\x73\x65"); lIo5g: } goto KRj3v; abhMc: $UP7Cu = self::getDefaults(); if (empty($GYX4r["\151\163\x5f\x73\x65\164\165\160"])) { goto Ma_yt; } goto lgZG6; lgZG6: foreach ($GYX4r as $pl1Vd => $Xpv3B) { $UP7Cu[$pl1Vd] = $Xpv3B; b3iZ9: } ToG11: goto qcMVd; gmU5s: } public static function addDefaults($bSqLP) { goto p1DcK; udBkl: $GYX4r = $yDVx9->getConfigForModule("\153\x6e\155\137\x67\160\164\137\x63\150\x61\164\x73"); goto f9H2m; f9H2m: $bSqLP = array_merge_recursive($bSqLP, $GYX4r); goto T3xWY; T3xWY: foreach ($bSqLP as $pl1Vd => $raavG) { $yDVx9->saveSetting("\x6b\156\155\x5f\147\x70\164\137\143\150\x61\x74\x73", $pl1Vd, $raavG, "\142\x61\163\145"); gfJlv: } goto pn36D; p1DcK: $yDVx9 = BeanFactory::newBean("\101\144\155\151\156\x69\163\x74\162\141\164\x69\157\x6e"); goto udBkl; pn36D: aemJV: goto zOqeo; zOqeo: } public static function getDefaults($UD9qZ = 0) { goto obtHd; obtHd: if (!($UD9qZ === false)) { goto kg1rk; } goto hWJnq; XqOlZ: kg1rk: goto sNe1g; sNe1g: return array("\151\x73\x5f\163\x65\x74\165\x70" => $UD9qZ, "\145\156\141\x62\154\145\144\x5f\x6d\157\x64\x75\154\145\163" => array("\101\143\143\x6f\x75\156\164\x73", "\x43\x6f\x6e\x74\x61\143\164\x73", "\114\145\x61\144\x73", "\x4f\160\160\x6f\162\x74\165\x6e\151\x74\151\x65\163", "\x4d\x65\x65\164\x69\x6e\x67\163", "\x43\141\154\x6c\163", "\114\x65\141\144\163", "\x54\141\x73\153\x73", "\116\157\x74\145\x73", "\105\155\141\151\x6c\163"), "\141\x75\164\x6f\143\x6f\155\x70\154\145\x74\145\137\x66\x69\145\x6c\x64\163" => array("\x41\143\143\157\165\156\x74\x73" => array("\x6e\141\155\145", "\141\x63\x63\157\165\156\164\137\x74\x79\160\145", "\160\x68\157\x6e\145\137\157\x66\x66\151\x63\145", "\x77\x65\142\163\151\x74\145", "\151\x6e\x64\165\x73\x74\162\171"), "\x43\x6f\156\164\141\x63\x74\x73" => array("\146\x75\x6c\x6c\137\x6e\141\155\145", "\164\x69\x74\x6c\x65", "\x64\x65\160\141\x72\164\155\x65\x6e\x74", "\x61\x63\143\x6f\165\156\164\137\x6e\141\x6d\145", "\x70\x68\x6f\x6e\145\137\x77\157\x72\153"), "\x4c\145\141\144\x73" => array("\x66\x75\154\x6c\137\156\141\155\145", "\164\151\164\x6c\x65", "\144\145\160\x61\x72\164\x6d\x65\x6e\x74", "\141\143\143\x6f\x75\x6e\x74\x5f\156\x61\x6d\x65", "\160\x68\157\156\x65\x5f\x77\x6f\x72\153", "\154\x65\x61\144\137\x73\157\x75\x72\x63\x65", "\154\145\141\144\137\x73\x6f\x75\162\143\145\137\144\145\163\143\162\x69\160\164\151\157\x6e"), "\x4f\160\160\x6f\162\164\x75\156\151\x74\x69\x65\x73" => array("\x6e\141\x6d\145", "\x61\143\x63\x6f\165\156\x74\137\x6e\x61\x6d\145", "\x61\155\x6f\165\156\164", "\163\141\x6c\x65\163\x5f\163\x74\141\147\x65", "\x70\x72\x6f\x62\141\142\x69\x6c\151\x74\171", "\x6c\x6f\x73\x74", "\x6e\x65\x78\x74\x5f\x73\x74\145\160", "\163\141\x6c\145\x73\x5f\163\x74\141\164\165\x73", "\157\160\160\157\162\x74\x75\156\151\x74\x79\x5f\164\171\160\x65"), "\115\145\145\x74\x69\156\x67\x73" => array("\156\141\155\145", "\154\x6f\x63\x61\164\x69\157\156", "\144\145\x73\x63\x72\151\160\x74\151\x6f\x6e", "\x64\165\162\x61\x74\x69\157\x6e\x5f\x68\x6f\x75\x72\x73", "\x64\x75\x72\141\164\151\x6f\x6e\137\x6d\x69\156\165\x74\x65\x73", "\144\141\164\x65\x5f\x73\164\x61\x72\x74", "\144\141\x74\145\137\145\x6e\144", "\151\156\164\x65\162\156\141\x6c\x5f\156\157\x74\x65\x73"), "\x43\141\154\154\x73" => array("\x6e\x61\155\x65", "\154\157\x63\x61\x74\x69\157\x6e", "\144\145\163\143\162\151\x70\164\151\157\156", "\x64\165\x72\141\164\151\157\x6e\x5f\x68\x6f\165\162\163", "\x64\x75\162\141\164\151\x6f\x6e\137\155\x69\x6e\x75\164\x65\x73", "\144\x61\x74\145\137\x73\x74\141\x72\x74", "\x64\x61\164\x65\137\x65\x6e\144", "\x69\x6e\164\x65\162\156\x61\154\x5f\156\x6f\164\x65\x73"), "\x54\x61\163\x6b\163" => array("\156\x61\155\x65", "\144\141\x74\145\x5f\144\x75\145", "\144\x61\x74\145\137\x73\x74\141\x72\x74", "\x73\x74\141\164\x75\x73", "\160\x72\157\162\x69\164\171", "\x70\x61\x72\x65\x6e\x74\x5f\156\141\155\145", "\160\141\x72\145\x6e\164\x5f\x74\x79\x70\x65"), "\x4e\x6f\164\x65\163" => array("\x6e\x61\155\145", "\x64\145\x73\x63\x72\x69\x70\164\x69\157\156", "\x66\151\x6c\x65\x6e\x61\155\x65", "\x70\x61\x72\145\156\164\137\156\141\x6d\145", "\x63\157\x6e\x74\141\x63\164\137\x6e\141\155\x65", "\141\x73\x73\151\147\156\x65\144\137\165\163\145\x72\137\156\x61\x6d\145"), "\x45\x6d\141\x69\x6c\x73" => array("\163\x75\142\152\145\x63\164", "\144\145\163\x63\x72\151\160\164\x69\157\x6e"))); goto OSnNh; hWJnq: $UD9qZ = 0; goto XqOlZ; OSnNh: } }

Function Calls

None

Variables

None

Stats

MD5 bb4db42f4a6a1643cc400832b4ff9ecb
Eval Count 0
Decode Time 50 ms