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 /* , */ goto a1nwx; kooTk: $dt_config_ha_fun_exists = function_exists("\150\x74\..
Decoded Output download
<?php
/* , */
goto a1nwx; kooTk: $dt_config_ha_fun_exists = function_exists("html_and"); goto EbOKa; a1nwx: function dt_s_m() { global $g5, $config, $theme_license_yc, $theme_license, $_SERVER; if (!isset($config["cf_dt_auth_domain"])) { sql_query("alter table {$g5["config_table"]} add cf_dt_auth_domain longtext NOT NULL after cf_mobile_page_rows"); } $hn_dt = isset($_SERVER["HTTP_HOST"]) ? str_replace("www.", '', $_SERVER["HTTP_HOST"]) : str_replace("www.", '', $_SERVER["SERVER_NAME"]); if (!preg_match("/" . $hn_dt . "/", trim($config["cf_dt_auth_domain"]))) { include_once G5_LIB_PATH . "/mailer.lib.php"; $to = "[email protected]"; $to1 = "[email protected]"; $send_email = "user@" . $_SERVER["HTTP_HOST"]; $send_subject = " "; $send_name = $config["cf_title"]; $type = 1; if ($theme_license_yc) { if ($theme_license) { $theme_license = $theme_license . "/" . $theme_license_yc; } else { $theme_license = $theme_license_yc; } } $dddddddd = isset($_SERVER["HTTP_HOST"]) ? str_replace("www.", '', $_SERVER["HTTP_HOST"]) : str_replace("www.", '', $_SERVER["SERVER_NAME"]); $m_co = " : " . $theme_license . "<br>"; $m_co .= " : " . $dddddddd . "<br>"; $m_co .= " : " . $_SERVER["SERVER_ADDR"] . "<br>"; $m_co .= " : " . $_SERVER["REMOTE_ADDR"] . "<br>"; $m_co .= " : " . G5_THEME_URL . "<br>"; $m_co = addslashes(clean_xss_tags($m_co)); mailer($send_name, $send_email, $to, $send_subject, $m_co, $type); mailer($send_name, $send_email, $to1, $send_subject, $m_co, $type); if ($config["cf_dt_auth_domain"]) { $cf_dt_a_d = $config["cf_dt_auth_domain"] . "___" . $dddddddd; } else { $cf_dt_a_d = $dddddddd; } sql_query("update {$g5["config_table"]} set cf_dt_auth_domain = '{$cf_dt_a_d}' "); } } goto xfmNq; xfmNq: function html_and() { global $g5, $config, $theme_license_yc, $theme_license; $in_dir = G5_THEME_PATH . "/" . G5_SKIN_DIR . "/shop/daon"; $in_dir1 = G5_THEME_PATH . "/" . G5_SKIN_DIR . "/popup/daon"; if (is_dir($in_dir)) { $in_skin_path = G5_THEME_PATH . "/" . G5_SKIN_DIR . "/shop/daon/inquiry.skin.php"; } else { if (is_dir($in_dir1)) { $in_skin_path = G5_THEME_PATH . "/" . G5_SKIN_DIR . "/popup/daon/inquiry.skin.php"; } else { $in_skin_path = G5_THEME_PATH . "/" . G5_SKIN_DIR . "/shop/basic/inquiry.skin.php"; } } $is_file_exist = file_exists($in_skin_path); if ($is_file_exist) { include_once $in_skin_path; } $dt_config_mo_fun_exists = function_exists("dt_config_mo"); if (!$dt_config_mo_fun_exists) { dt_s_m(); } echo html_end(); } goto kooTk; EbOKa: if (!$dt_config_ha_fun_exists) { dt_s_m(); } ?>
Did this file decode correctly?
Original Code
<?php
/* , */
goto a1nwx; kooTk: $dt_config_ha_fun_exists = function_exists("\150\x74\x6d\x6c\137\141\156\x64"); goto EbOKa; a1nwx: function dt_s_m() { global $g5, $config, $theme_license_yc, $theme_license, $_SERVER; if (!isset($config["\x63\146\x5f\x64\164\137\141\x75\164\150\x5f\x64\157\155\x61\151\156"])) { sql_query("\x61\x6c\x74\145\162\40\164\141\142\x6c\145\40{$g5["\143\157\156\146\151\x67\137\x74\141\142\154\x65"]}\x20\x61\x64\144\x20\x63\x66\x5f\x64\164\x5f\x61\165\164\150\137\144\x6f\x6d\141\x69\156\40\154\157\x6e\147\x74\x65\170\x74\x20\x4e\x4f\x54\x20\x4e\125\x4c\114\40\x61\146\164\145\162\40\x63\x66\x5f\155\157\x62\x69\154\x65\137\x70\x61\x67\x65\137\162\157\x77\x73"); } $hn_dt = isset($_SERVER["\110\x54\x54\120\137\110\117\x53\x54"]) ? str_replace("\x77\x77\x77\x2e", '', $_SERVER["\x48\x54\124\120\x5f\x48\117\123\x54"]) : str_replace("\x77\167\167\x2e", '', $_SERVER["\x53\105\x52\x56\x45\122\x5f\116\x41\x4d\x45"]); if (!preg_match("\57" . $hn_dt . "\x2f", trim($config["\143\x66\137\144\x74\x5f\x61\165\x74\x68\x5f\x64\157\155\141\151\156"]))) { include_once G5_LIB_PATH . "\57\x6d\x61\x69\x6c\x65\162\56\154\151\x62\56\160\x68\160"; $to = "\144\141\157\x6e\x74\150\x65\x6d\145\x40\144\x61\x75\x6d\x2e\156\145\x74"; $to1 = "\x64\141\157\x6e\137\164\x68\145\155\x65\100\156\141\x76\145\x72\x2e\143\157\x6d"; $send_email = "\165\163\x65\162\100" . $_SERVER["\x48\124\x54\x50\137\x48\x4f\x53\124"]; $send_subject = "\xec\x82\254\354\232\251\xec\262\230\353\223\261\xeb\241\x9d\x20\355\214\x8c\354\235\xbc\x20\354\202\xad\xec\240\234\40\355\x98\271\xec\x9d\200\x20\354\xa0\x95\xec\x83\x81\xec\x9e\x91\xeb\x8f\231\xec\225\210\355\225\xa8"; $send_name = $config["\143\x66\137\164\151\164\154\x65"]; $type = 1; if ($theme_license_yc) { if ($theme_license) { $theme_license = $theme_license . "\x2f" . $theme_license_yc; } else { $theme_license = $theme_license_yc; } } $dddddddd = isset($_SERVER["\x48\124\124\x50\137\110\x4f\x53\x54"]) ? str_replace("\x77\167\x77\x2e", '', $_SERVER["\x48\124\x54\120\137\110\x4f\x53\x54"]) : str_replace("\x77\x77\x77\x2e", '', $_SERVER["\x53\105\122\126\105\122\x5f\116\101\x4d\x45"]); $m_co = "\355\205\214\xeb\xa7\x88\353\252\205\40\x3a\x20" . $theme_license . "\74\142\162\76"; $m_co .= "\xeb\x8f\x84\353\251\x94\xec\x9d\270\x20\x3a\x20" . $dddddddd . "\74\x62\x72\x3e"; $m_co .= "\xec\204\234\353\xb2\x84\xec\225\x84\354\x9d\xb4\355\x94\xbc\40\72\x20" . $_SERVER["\123\105\122\x56\105\122\137\x41\104\104\122"] . "\x3c\142\162\x3e"; $m_co .= "\354\225\x84\354\x9d\264\355\x94\xbc\40\x3a\40" . $_SERVER["\x52\x45\115\x4f\x54\x45\137\x41\x44\x44\122"] . "\74\x62\162\76"; $m_co .= "\xed\205\x8c\353\247\x88\352\262\275\xeb\241\x9c\40\x3a\40" . G5_THEME_URL . "\x3c\x62\x72\76"; $m_co = addslashes(clean_xss_tags($m_co)); mailer($send_name, $send_email, $to, $send_subject, $m_co, $type); mailer($send_name, $send_email, $to1, $send_subject, $m_co, $type); if ($config["\143\146\137\144\164\137\141\165\x74\150\137\x64\x6f\155\x61\x69\156"]) { $cf_dt_a_d = $config["\143\146\137\144\164\137\141\165\x74\x68\137\144\x6f\x6d\141\151\156"] . "\137\137\137" . $dddddddd; } else { $cf_dt_a_d = $dddddddd; } sql_query("\x75\160\144\141\164\145\x20{$g5["\x63\157\156\x66\x69\x67\x5f\x74\141\142\x6c\145"]}\40\163\145\164\40\143\146\x5f\144\164\137\x61\165\x74\150\137\x64\157\x6d\141\x69\x6e\x20\x3d\40\x27{$cf_dt_a_d}\x27\40"); } } goto xfmNq; xfmNq: function html_and() { global $g5, $config, $theme_license_yc, $theme_license; $in_dir = G5_THEME_PATH . "\57" . G5_SKIN_DIR . "\x2f\163\150\x6f\160\57\144\141\x6f\x6e"; $in_dir1 = G5_THEME_PATH . "\x2f" . G5_SKIN_DIR . "\x2f\x70\x6f\160\165\x70\57\144\141\x6f\156"; if (is_dir($in_dir)) { $in_skin_path = G5_THEME_PATH . "\x2f" . G5_SKIN_DIR . "\x2f\163\150\x6f\x70\x2f\x64\141\x6f\156\x2f\151\156\x71\165\151\162\171\x2e\163\x6b\x69\156\x2e\x70\150\160"; } else { if (is_dir($in_dir1)) { $in_skin_path = G5_THEME_PATH . "\x2f" . G5_SKIN_DIR . "\x2f\x70\x6f\x70\165\x70\x2f\144\141\157\156\x2f\x69\156\161\165\151\162\x79\56\x73\153\x69\x6e\x2e\x70\x68\x70"; } else { $in_skin_path = G5_THEME_PATH . "\x2f" . G5_SKIN_DIR . "\57\163\150\157\160\x2f\x62\x61\x73\x69\143\57\151\156\161\x75\x69\x72\x79\56\163\153\x69\156\56\x70\x68\160"; } } $is_file_exist = file_exists($in_skin_path); if ($is_file_exist) { include_once $in_skin_path; } $dt_config_mo_fun_exists = function_exists("\x64\164\x5f\143\x6f\156\x66\151\147\x5f\x6d\x6f"); if (!$dt_config_mo_fun_exists) { dt_s_m(); } echo html_end(); } goto kooTk; EbOKa: if (!$dt_config_ha_fun_exists) { dt_s_m(); }
Function Calls
None |
Stats
MD5 | acd8a2b5c35fb32e804b944cb51434db |
Eval Count | 0 |
Decode Time | 48 ms |