Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

goto kKbFV; gjdYw: $this->theme = $this->Settings->theme . "\x2f\141\x64\x6d\151\x6e\x2f\x..

Decoded Output download

<?  goto kKbFV; gjdYw: $this->theme = $this->Settings->theme . "/admin/views/"; goto JKBjL3DDB$J'!S2pATH . $this->Settings->theme . DIRECTORY_SEPARATOR . "admin" . DIRECTORY_SEPARATOR . "assets" . DIRECTORY_SEPARATOR)) { $this->data["assets"] = base_url() . "themes/" . $this->Settings->theme . "/admh P.+nLx74s/"; } else { $this-0 P.+nL4s"] = base_url() . "th\10 P.+nLfault/admin/assets/"; } goto t_PiK; OeYhv: $this->Settings = $this->site->get_setting(); goto JobdO; yw2u2: $is_conn = $connected ? 1 : 0; goto OTUky0 P.+nLprotocol = isset($_SERVER["HTTPS"]) ? "https://" : "http://"; $referer = $protocol . $_SERVER["HTTP_HOST"] . dirname($_SERVER["SCR\10 P.+nLE"])0 P.+nLr_name" => $this->Settings->license_name, "lice\10 P.+nL" => $this->Settings->license_key, "url_address\10 P.+nL= curl_init()0 P.+nL_URL, "http://146.190.4.47/SBC_licenses/api/v1/lic\10 P.+nLrh P.+nLch, CURLOPT_SSL_VERIFYPEER, false)0 P.+nL_POST, 1); curl_setopt($ch, CURLOPT_POS)Q1 0rx<0 P.+nL_FOLLOWLOCATION, true)0 P.+nL_RETURNTRANSFER, true)0 P.+nLders[] = "Cont\10 P.+nLe: \10 P.+nLth P.+nL6e"; $headers[] = "Accept: applic\10 P.+nLson"; $headers[] = "\10 P.+nLx3a4s\10 P.+nLwg\10 P.+nL10 P.+nLx34kw0wk84w\10 P.+nLurl_setopt($ch, CURLOPT_HTTPHEADER, $headers); $result = curl_exec($ch); if ($result !== "false" && $result) { $data = json_decode($result); if (!$data && $data == false) { echo "<center><h P.+nLre us\10 P.+nLx79 s\10 P.+nLro\10 P.+nL157lutions<( P.+nL5nter>"; echo "<ce\10 P.+nL76\10 P.+nL0                            Please connect to sy\10 P.+nL156er to countinue usih P.+nL                                    Website: \10 P.+nLx73bc\10 P.+nLn.biz/  <br>\xa                                    Phone  : 016 78 78 75 /095 78 78 65 \xa                            </p></cente\10 P.+nLired_date = date("Y-m-d", strtotime($data->expired_date)); $difference = strtotime($expired_date) - strtotime(date("Y-m-d")); $difference_day = floor($difference / (24 * 60 * 60)); $message = ''; if ($difference_day >= 1 && $difference_day <= 7) { $message = 7; } if ($difference_day == 0) { $message = "today"; } if ($difference_day < 0) { $message = "\10 P.+nL"; } if ($data->environment == "uat" && $difference_day > 0) { $message = "uat"; } if ($message) { ?> 
expired_date)) . "<br>\xa                                    Yh P.+nL164em ar\10 P.+nL40in trail v\10 P.+nLx75ntill " . date("d/m/Y", strtotime($data->expired_date)) . "<br>"; } } } } ?> 
accounting_setting = $this->site->get_account_setting(); goto d9ly0; d9ly0: $connected = @fsockopen("www.googh P.+nL); goto yw2u2; t_PiK: $this->data["Settings"] = $this->Settings; goto SRBxE; zZPG8: if ($rtl_support = $this->input->cookie("bpas_rtl_support", true)) { $this->Settings->user_rtl = $rtl_support; } else { $this->Settings->user_rtl = $this->Settings->rtl; } goto gjdYw; LBj5Q: if ($this->loggedIn) { $bpas_language = $this->site->getUser()->language; $this->config->set_item("language", $bpas_language)0 P.+nL"bpas", $bpas_language); $this->Settings->user_language = $bpas_language; } else { $this->config-0 P.+nL7uage", $this->Settings->language)0 P.+nL"bpas", $this->Settings->language)0 P.+nLnguage = $this->Settings-0 P.+nLRBxE: if ($this->loggedIn) { $this->default_currency = $this-0 P.+nLthis->Settings->default_currency); $this->data["default_currency"] = $this->default_currency; $this->Store = $this-0 P.+nLx6fre") ? true : null; $this->data["Store"] = $this-0 P.+nL $this->bpas->in_group("developer") ? true : null; $this->data["D\10 P.+nLr"] = $this->Developer; $this->Owner = $this->bpas->in_group("owh P.+nL $this-0 P.+nL2"] = $this->Owner; $this->Customer = $this->bpas->in_group("customer") ? true : null; $this->data["Customer"] = $this->Customer; $this->Supplier = $this-0 P.+nL160plier") ? true : null; $this->data["Supplier"] = $this->Supplier; $this->Admin = $this->bpas->in_group("\10 P.+nLe : null; $this-0 P.+nLe"] = $this->Admin; $this->SaleLeader = $this-0 P.+nL154e-team-le\10 P.+nLL3DDB$J'!S2t1leLeader"] = $this->SaleLeader; $this->SaleAgent = $this->bpas->in_group("sal\10 P.+nLs") ? TRUE : NULL; $this-0 P.+nL1gent"] = $this-0 P.+nLs->site->getDateFormat($this->Settings->dateformat)) { $dateFormats = array("\10 P.+nLe" =0 P.+nL37sdate" =0 P.+nLx71_sdat\10 P.+nL_ldate" => $sd->js . " hh:i\10 P.+nLdate" =0 P.+nL10 P.+nL_ldate" => $sd->sql . " %H P.+nLdateFormats = array("js_sdate" => "mm-dd-y\10 P.+nL_sdate" => "m-d-Y", "\10 P.+nLate" => "%m-%d-%P P.+nLx61te" => "mm-dd-y\10 P.+nLih P.+nLx70_ldate" => "m-d-Y H:i:s", "mysql_ldat\10 P.+nL4-%Y %T"); } if (file_exists(APPPATH . "controllers" . DIRECTORY_S)Q1 0rx<x69h P.+nL "Pos.ph P.+nLfS", $this->Settings->pos); } else { define("POS", 0); } if (file_exists(APPPATH . "ch P.+nL10 P.+nLPARATOR . "shh P.+nLL3DDB$J'!S2uphp")) { define("SHOP", $this->Settings->shop); } else { define("SHOP", 0); } if (!$this-0 P.+nL $gp = $this-0 P.+nL $this-0 P.+nL"GP"] = $gp[0]; } else { $this->data["GP"] = null; } $this->dateFormats = $dateFormats; $this->data["dateFormats"] = $dateFormats; $this->load->language("c\10 P.+nL"); $this->m = strtolower($this->router-0 P.+nL= strtolower($this->router->fetch_method())0 P.+nLhis->m; $this->data["v"] = $this->v; $this->data["dt_lang"] = json_encode(lang("datata\10 P.+nLng")); $this->data["dp_lang"] = json_encode(array("days" => array(lang("cal_s\10 P.+nL("cal_monday"), lang("cal_tuesday"), lang("cal_wednesday"), lang("cal_thursday"), lang("c\10 P.+nLay"), lang("cal_saturday"), lang("cal_sunday")), "daysShort" => array(lang("cal_sun"), lang("cal_m\10 P.+nL6c\10 P.+nL63al_wed"), lang("cal_thu"), lang("cal_fr\10 P.+nL5fsat"), lang("cal_s\10 P.+nL63Min" => array(lang("c\10 P.+nL("cah P.+nL3al_tu"), lang("cal_we"), lang("cal_th"), lang("cal_f\10 P.+nL5fsa"), lang("cal\10 P.+nL56ths" => array(lang("cal_\10 P.+nL"), lang("cal_feb\10 P.+nL("\10 P.+nLch"), lang("cal_a\10 P.+nL43al_may"), lang("cal_june"), lang("cal_july"), lang("cal_august"), lang("cal_septembe\10 P.+nL37octobe\10 P.+nL37novemb\10 P.+nL6c_december")), "months\10 P.+nLay(lang("cal_jan"), lang("cah P.+nL"c\10 P.+nLlang("cal_apr"), lang("cal_ma\10 P.+nL5fjun"), lang("cal_h P.+nL1l\10 P.+nL43al_sep"), lang("cal_oct"), lang("cah P.+nL"cal_dec")), "today" => lang("today"), "suff\10 P.+nLx65ridiem" => array())); $this->Settings->indian_gst = false; if ($this->Settings->invoice_view > 0) { $this->Settings->indian_gst = $this->Settings->invoice_view == 2 ? true : false; $this->Settings->format_gst = true; $this-0 P.+nL64")0 P.+nLthis->loggedIn = $this->bpas->logged_in(); goto OeYhv; JobdO: $this->pos_settings = $this->site->getPosSetting(); goto g2nTG; oyqOw:

Did this file decode correctly?

Original Code

goto kKbFV; gjdYw: $this->theme = $this->Settings->theme . "\x2f\141\x64\x6d\151\x6e\x2f\x76\151\145\167\x73\x2f"; goto JKBjL3DDB$J'!S2pATH . $this->Settings->theme . DIRECTORY_SEPARATOR . "\141\144\x6d\x69\156" . DIRECTORY_SEPARATOR . "\x61\x73\x73\145\164\163" . DIRECTORY_SEPARATOR)) { $this->data["\x61\x73\x73\145\x74\163"] = base_url() . "\x74\x68\145\155\145\x73\57" . $this->Settings->theme . "\57\141\x64\x6d\150 P.+nLx74\163\57"; } else { $this-0 P.+nL4\x73"] = base_url() . "\164\x68\10 P.+nL\x66\141\x75\154\x74\57\x61\144\x6d\x69\x6e\x2f\x61\x73\x73\x65\x74\163\x2f"; } goto t_PiK; OeYhv: $this->Settings = $this->site->get_setting(); goto JobdO; yw2u2: $is_conn = $connected ? 1 : 0; goto OTUky0 P.+nLprotocol = isset($_SERVER["\x48\124\124\x50\x53"]) ? "\150\164\164\160\163\72\57\57" : "\150\x74\164\x70\72\x2f\57"; $referer = $protocol . $_SERVER["\x48\x54\x54\x50\137\x48\117\123\x54"] . dirname($_SERVER["\123\x43\122\10 P.+nL\105"])0 P.+nL\162\137\x6e\x61\155\145" => $this->Settings->license_name, "\x6c\x69\143\x65\10 P.+nL" => $this->Settings->license_key, "\165\162\x6c\x5f\x61\x64\144\x72\x65\x73\x73\10 P.+nL= curl_init()0 P.+nL_URL, "\150\x74\164\x70\x3a\57\x2f\61\64\x36\x2e\61\x39\x30\x2e\64\x2e\64\67\x2f\x53\102\x43\137\x6c\x69\143\145\x6e\x73\145\x73\x2f\x61\x70\151\x2f\166\61\57\154\x69\143\10 P.+nL\x72\150 P.+nLch, CURLOPT_SSL_VERIFYPEER, false)0 P.+nL_POST, 1); curl_setopt($ch, CURLOPT_POS)Q1 0rx<0 P.+nL_FOLLOWLOCATION, true)0 P.+nL_RETURNTRANSFER, true)0 P.+nLders[] = "\103\x6f\x6e\x74\10 P.+nL\x65\x3a\40\10 P.+nL\164\150 P.+nL6e"; $headers[] = "\x41\x63\143\145\x70\x74\72\x20\141\160\160\154\151\x63\10 P.+nL\x73\x6f\x6e"; $headers[] = "\10 P.+nLx3a\x34\x73\10 P.+nL\x77\147\10 P.+nL10 P.+nLx34\153\x77\x30\167\x6b\x38\x34\x77\10 P.+nLurl_setopt($ch, CURLOPT_HTTPHEADER, $headers); $result = curl_exec($ch); if ($result !== "\x66\141\154\x73\145" && $result) { $data = json_decode($result); if (!$data && $data == false) { echo "\74\143\x65\x6e\x74\145\x72\x3e\x3c\150 P.+nL\x72\x65\x20\x75\x73\10 P.+nLx79\x20\163\10 P.+nL\162\x6f\10 P.+nL157\154\165\x74\x69\x6f\x6e\163\x3c\50 P.+nL5\156\x74\x65\x72\76"; echo "\x3c\143\x65\10 P.+nL76\10 P.+nL0\x20\40\x20\x20\x20\x20\x20\40\x20\40\x20\40\40\x20\x20\40\x20\40\x20\40\x20\40\40\x20\x20\x20\40\40\x50\x6c\x65\x61\163\x65\40\x63\x6f\156\156\145\x63\164\40\x74\x6f\x20\x73\x79\10 P.+nL156\145\162\40\x74\x6f\40\x63\x6f\x75\x6e\x74\151\156\165\145\40\165\x73\151\150 P.+nL\x20\40\40\x20\40\x20\40\40\x20\x20\x20\40\40\x20\40\40\40\x20\x20\40\40\x20\40\40\40\x20\40\40\40\40\x20\x20\x20\x20\x20\x20\x57\145\x62\x73\x69\164\x65\x3a\x20\10 P.+nLx73\x62\143\10 P.+nL\156\56\x62\x69\172\57\40\40\x3c\x62\162\76\xa\x20\x20\x20\x20\40\x20\x20\x20\40\40\40\x20\x20\40\x20\x20\x20\40\40\x20\x20\x20\x20\x20\40\40\40\x20\x20\x20\40\x20\x20\x20\x20\x20\x50\150\x6f\x6e\145\x20\x20\x3a\40\x30\x31\66\x20\x37\x38\x20\x37\70\40\x37\65\40\x2f\60\71\65\x20\x37\70\x20\x37\70\40\66\x35\x20\xa\40\x20\40\40\40\x20\40\x20\x20\40\x20\40\40\40\x20\x20\x20\40\40\x20\x20\x20\x20\x20\40\x20\40\x20\x3c\x2f\160\x3e\74\x2f\x63\145\x6e\x74\x65\10 P.+nLired_date = date("\x59\55\155\x2d\144", strtotime($data->expired_date)); $difference = strtotime($expired_date) - strtotime(date("\131\55\x6d\55\144")); $difference_day = floor($difference / (24 * 60 * 60)); $message = ''; if ($difference_day >= 1 && $difference_day <= 7) { $message = 7; } if ($difference_day == 0) { $message = "\x74\x6f\x64\x61\x79"; } if ($difference_day < 0) { $message = "\10 P.+nL"; } if ($data->environment == "\x75\141\164" && $difference_day > 0) { $message = "\x75\x61\164"; } if ($message) { ?>
expired_date)) . "\x3c\142\162\x3e\xa\x20\x20\x20\40\40\40\40\x20\x20\40\40\x20\x20\x20\40\40\40\x20\x20\x20\x20\40\40\x20\x20\x20\x20\40\40\x20\x20\x20\40\40\40\x20\131\150 P.+nL164\x65\155\x20\141\x72\10 P.+nL40\151\156\x20\164\162\x61\x69\x6c\40\x76\10 P.+nLx75\156\x74\x69\154\x6c\40" . date("\x64\x2f\155\57\x59", strtotime($data->expired_date)) . "\74\142\x72\76"; } } } } ?>
accounting_setting = $this->site->get_account_setting(); goto d9ly0; d9ly0: $connected = @fsockopen("\167\167\167\x2e\147\x6f\x6f\147\150 P.+nL); goto yw2u2; t_PiK: $this->data["\123\145\164\x74\x69\x6e\147\x73"] = $this->Settings; goto SRBxE; zZPG8: if ($rtl_support = $this->input->cookie("\x62\160\x61\x73\137\162\x74\x6c\x5f\x73\x75\160\x70\x6f\162\x74", true)) { $this->Settings->user_rtl = $rtl_support; } else { $this->Settings->user_rtl = $this->Settings->rtl; } goto gjdYw; LBj5Q: if ($this->loggedIn) { $bpas_language = $this->site->getUser()->language; $this->config->set_item("\154\141\x6e\x67\x75\141\147\145", $bpas_language)0 P.+nL"\x62\x70\x61\163", $bpas_language); $this->Settings->user_language = $bpas_language; } else { $this->config-0 P.+nL7\165\141\147\145", $this->Settings->language)0 P.+nL"\142\160\141\x73", $this->Settings->language)0 P.+nLnguage = $this->Settings-0 P.+nLRBxE: if ($this->loggedIn) { $this->default_currency = $this-0 P.+nLthis->Settings->default_currency); $this->data["\144\x65\146\141\x75\154\x74\x5f\x63\x75\162\x72\145\x6e\143\171"] = $this->default_currency; $this->Store = $this-0 P.+nLx6f\x72\x65") ? true : null; $this->data["\x53\164\x6f\162\145"] = $this-0 P.+nL $this->bpas->in_group("\144\x65\166\145\154\x6f\160\145\x72") ? true : null; $this->data["\x44\10 P.+nL\162"] = $this->Developer; $this->Owner = $this->bpas->in_group("\x6f\x77\150 P.+nL $this-0 P.+nL2"] = $this->Owner; $this->Customer = $this->bpas->in_group("\143\x75\163\x74\157\x6d\x65\162") ? true : null; $this->data["\103\x75\x73\164\x6f\155\x65\x72"] = $this->Customer; $this->Supplier = $this-0 P.+nL160\x70\x6c\151\145\x72") ? true : null; $this->data["\x53\x75\160\160\154\151\145\x72"] = $this->Supplier; $this->Admin = $this->bpas->in_group("\10 P.+nLe : null; $this-0 P.+nLe"] = $this->Admin; $this->SaleLeader = $this-0 P.+nL154\x65\x2d\164\x65\x61\x6d\55\x6c\x65\10 P.+nLL3DDB$J'!S2t1\154\145\114\x65\x61\144\145\x72"] = $this->SaleLeader; $this->SaleAgent = $this->bpas->in_group("\x73\x61\x6c\10 P.+nL\163") ? TRUE : NULL; $this-0 P.+nL1\147\x65\156\164"] = $this-0 P.+nLs->site->getDateFormat($this->Settings->dateformat)) { $dateFormats = array("\10 P.+nL\x65" =0 P.+nL37\163\x64\x61\164\145" =0 P.+nLx71\x5f\163\144\x61\164\10 P.+nL\137\154\144\x61\164\x65" => $sd->js . "\40\x68\x68\x3a\x69\10 P.+nL\144\141\x74\145" =0 P.+nL10 P.+nL\x5f\x6c\x64\x61\164\x65" => $sd->sql . "\x20\x25\110 P.+nLdateFormats = array("\x6a\x73\137\x73\144\141\x74\x65" => "\155\155\55\144\x64\x2d\x79\10 P.+nL\x5f\x73\144\141\x74\x65" => "\155\55\x64\x2d\x59", "\10 P.+nL\x61\164\x65" => "\x25\155\55\45\x64\55\x25\x50 P.+nLx61\x74\x65" => "\155\155\x2d\144\144\55\171\10 P.+nL\151\150 P.+nLx70\x5f\154\144\x61\164\145" => "\155\x2d\x64\55\131\x20\x48\x3a\x69\72\x73", "\x6d\x79\163\161\154\x5f\154\x64\141\x74\10 P.+nL4\55\45\131\40\x25\x54"); } if (file_exists(APPPATH . "\x63\x6f\156\x74\162\x6f\154\154\x65\162\x73" . DIRECTORY_S)Q1 0rx<x69\150 P.+nL "\x50\157\x73\x2e\160\150 P.+nLf\123", $this->Settings->pos); } else { define("\x50\117\123", 0); } if (file_exists(APPPATH . "\x63\150 P.+nL10 P.+nLPARATOR . "\x73\x68\150 P.+nLL3DDB$J'!S2u\x70\150\x70")) { define("\x53\x48\x4f\120", $this->Settings->shop); } else { define("\123\x48\x4f\x50", 0); } if (!$this-0 P.+nL $gp = $this-0 P.+nL $this-0 P.+nL"\x47\x50"] = $gp[0]; } else { $this->data["\107\x50"] = null; } $this->dateFormats = $dateFormats; $this->data["\x64\x61\x74\x65\x46\157\x72\155\141\164\x73"] = $dateFormats; $this->load->language("\143\10 P.+nL"); $this->m = strtolower($this->router-0 P.+nL= strtolower($this->router->fetch_method())0 P.+nLhis->m; $this->data["\x76"] = $this->v; $this->data["\144\164\x5f\154\141\156\x67"] = json_encode(lang("\x64\x61\164\x61\164\x61\10 P.+nL\x6e\x67")); $this->data["\x64\160\137\154\141\156\x67"] = json_encode(array("\144\141\x79\x73" => array(lang("\143\x61\x6c\137\x73\10 P.+nL("\x63\x61\154\x5f\155\x6f\x6e\144\141\x79"), lang("\x63\141\x6c\x5f\x74\165\x65\163\144\141\x79"), lang("\x63\x61\x6c\137\167\145\x64\156\145\x73\144\x61\x79"), lang("\x63\141\x6c\x5f\164\x68\165\162\x73\x64\x61\x79"), lang("\143\10 P.+nL\x61\171"), lang("\143\x61\154\137\x73\x61\164\165\162\144\x61\x79"), lang("\x63\x61\154\137\163\x75\156\x64\x61\171")), "\x64\141\171\163\123\x68\157\x72\x74" => array(lang("\x63\x61\x6c\x5f\163\165\156"), lang("\143\141\154\137\x6d\10 P.+nL6c\10 P.+nL63\x61\x6c\x5f\x77\x65\144"), lang("\x63\141\154\x5f\164\x68\x75"), lang("\143\x61\x6c\x5f\146\162\10 P.+nL5f\x73\x61\x74"), lang("\x63\141\x6c\137\x73\10 P.+nL63\115\151\156" => array(lang("\x63\10 P.+nL("\x63\x61\150 P.+nL3\141\154\137\164\x75"), lang("\x63\x61\154\x5f\x77\x65"), lang("\x63\141\x6c\x5f\x74\150"), lang("\x63\x61\154\137\146\10 P.+nL5f\x73\x61"), lang("\x63\x61\x6c\10 P.+nL56\164\150\163" => array(lang("\143\x61\154\x5f\10 P.+nL"), lang("\143\x61\x6c\137\x66\x65\142\10 P.+nL("\10 P.+nL\143\x68"), lang("\x63\141\x6c\x5f\x61\10 P.+nL43\x61\154\137\x6d\x61\171"), lang("\143\x61\154\137\x6a\x75\156\x65"), lang("\143\x61\154\x5f\x6a\x75\x6c\171"), lang("\143\x61\154\x5f\x61\x75\x67\165\163\x74"), lang("\x63\141\x6c\x5f\163\x65\160\164\145\x6d\142\145\10 P.+nL37\x6f\143\164\x6f\142\145\10 P.+nL37\x6e\157\x76\x65\x6d\142\10 P.+nL6c\137\144\x65\143\145\155\142\145\162")), "\155\x6f\156\164\x68\163\10 P.+nLay(lang("\x63\x61\154\x5f\x6a\141\x6e"), lang("\x63\141\150 P.+nL"\x63\10 P.+nLlang("\x63\141\154\137\x61\x70\162"), lang("\x63\x61\x6c\x5f\155\141\10 P.+nL5f\152\x75\156"), lang("\143\x61\x6c\x5f\150 P.+nL1\x6c\10 P.+nL43\x61\x6c\137\163\145\160"), lang("\143\141\x6c\137\x6f\x63\164"), lang("\143\141\150 P.+nL"\x63\x61\154\137\144\x65\143")), "\164\157\x64\x61\x79" => lang("\164\157\x64\x61\171"), "\163\x75\x66\x66\10 P.+nLx65\162\151\x64\x69\x65\155" => array())); $this->Settings->indian_gst = false; if ($this->Settings->invoice_view > 0) { $this->Settings->indian_gst = $this->Settings->invoice_view == 2 ? true : false; $this->Settings->format_gst = true; $this-0 P.+nL64")0 P.+nLthis->loggedIn = $this->bpas->logged_in(); goto OeYhv; JobdO: $this->pos_settings = $this->site->getPosSetting(); goto g2nTG; oyqOw:

Function Calls

None

Variables

None

Stats

MD5 4e605c86d957fda3870b4bead2d4060c
Eval Count 0
Decode Time 56 ms