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 cCNpc; QCYAi: if ($gnu_ver_co < 10) { alert($dt_x_msg2, G5_URL); } goto gknZs..

Decoded Output download

<?php  
goto cCNpc; QCYAi: if ($gnu_ver_co < 10) { alert($dt_x_msg2, G5_URL); } goto gknZs; ic6pA: define("DT_ONLINE", $g5["dt_online"]); goto dRSjv; gMfNB: $dt_x_msg1 = "Warning!!\n\354\x9e\230\353\xaa\273\353\220\234 \354\240\221\352\xb7\xbc\354\x9e\205\xeb\x8b\x88\xeb\x8b\xa4."; goto MtaUp; o3K39: if ($g5["dt_online"] != $g5["write_prefix"] . "dtxxonline") { alert($dt_x_msg1, G5_ADMIN_URL); } goto idrZ9; CnyyG: if (!$file_exists) { alert($dt_x_msg, G5_URL); } goto SurMi; idrZ9: $result = sql_query("SHOW TABLES LIKE '{$g5["dt_online"]}' "); goto X9Bqm; X1Qgd: $file_exists = is_file($filepathA) && file_exists($filepathA) ? 1 : 0; goto EMY75; lWxkr: if ($co == 0) { alert($dt_x_msg1, G5_ADMIN_URL); } goto ic6pA; N3xNf: $filepathA = G5_THEME_PATH . "/admin_dt/formmail/adm/inquiry_form.php"; goto X1Qgd; gknZs: $g5["dt_online"] = $g5["write_prefix"] . "dtxxonline"; goto dFKXG; EMY75: if (!$theme_license) { alert($dt_x_msg, G5_URL); } goto CnyyG; SurMi: $gnu_ver_arr = @explode(".", G5_GNUBOARD_VER); goto h7_i4; h7_i4: $gnu_ver_co = $gnu_ver_arr[0] + $gnu_ver_arr[1]; goto QCYAi; dFKXG: if (!sql_query(" DESCRIBE `{$g5["dt_online"]}` ", false)) { sql_query(" CREATE TABLE IF NOT EXISTS `{$g5["dt_online"]}` (\xa                  `on_id` int(11) NOT NULL AUTO_INCREMENT,\xa                  `mb_id` varchar(20) NOT NULL DEFAULT '', 
                  `on_name` varchar(255) NOT NULL DEFAULT '', 
                  `on_email` varchar(255) NOT NULL DEFAULT '',\xa                  `on_hp` varchar(255) NOT NULL DEFAULT '',\xa	\x9\x9	  `on_tel` varchar(255) NOT NULL DEFAULT '', 
                  `on_category` varchar(255) NOT NULL DEFAULT '', \xa                  `on_subject` varchar(255) NOT NULL DEFAULT '',\xa                  `on_content` text NOT NULL, 
                  `on_result` tinyint(4) NOT NULL DEFAULT '1', 
                  `on_file1` varchar(255) NOT NULL DEFAULT '', 
                  `on_source1` varchar(255) NOT NULL DEFAULT '', 
                  `on_file2` varchar(255) NOT NULL DEFAULT '',\xa                  `on_source2` varchar(255) NOT NULL DEFAULT '',\xa                  `on_ip` varchar(255) NOT NULL DEFAULT '',\xa                  `on_datetime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',\xa\x9\x9	\x9  `on_memo` text NOT NULL DEFAULT '', 
                  `on_1` text NOT NULL DEFAULT '', 
                  `on_2` text NOT NULL DEFAULT '',\xa                  `on_3` text NOT NULL DEFAULT '',\xa                  `on_4` text NOT NULL DEFAULT '', 
                  `on_5` text NOT NULL DEFAULT '',\xa                  `on_6` text NOT NULL DEFAULT '',\xa                  `on_7` text NOT NULL DEFAULT '',\xa                  `on_8` text NOT NULL DEFAULT '',\xa                  `on_9` text NOT NULL DEFAULT '',\xa                  `on_10` text NOT NULL DEFAULT '',		\x9	        \xa	\x9	\x9  `on_1_subj` text NOT NULL DEFAULT '', 
                  `on_2_subj` text NOT NULL DEFAULT '',\xa                  `on_3_subj` text NOT NULL DEFAULT '', 
                  `on_4_subj` text NOT NULL DEFAULT '', 
                  `on_5_subj` text NOT NULL DEFAULT '',\xa                  `on_6_subj` text NOT NULL DEFAULT '', 
                  `on_7_subj` text NOT NULL DEFAULT '',\xa                  `on_8_subj` text NOT NULL DEFAULT '',\xa                  `on_9_subj` text NOT NULL DEFAULT '', 
                  `on_10_subj` text NOT NULL DEFAULT '',		\x9\x9             
                  PRIMARY KEY (`on_id`) 
                ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ", true); } goto o3K39; X9Bqm: $co = sql_num_rows($result); goto lWxkr; cCNpc: $dt_x_msg = "Warning!!\n\352\xb4\200\353\246\254\xec\236\220\353\xaa\250\xeb\223\x9c > \xed\231\230\xea\xb2\275\354\204\xa4\354\240\x95 > \355\x85\x8c\353\247\x88\xec\204\xa4\354\240\225 > \xec\x98\250\xeb\235\274\xec\x9d\xb8\353\254\xb8\xec\x9d\x98 \xed\x8f\274\354\x9d\264 \xed\x8f\254\xed\x95\xa8\353\x90\234 \355\x85\214\xeb\xa7\x88 \354\204\240\xed\x83\235\355\233\x84 \xec\235\xb4\354\232\xa9\355\x95\x98\xec\x84\270\354\x9a\x94."; goto gMfNB; MtaUp: $dt_x_msg2 = "Warning!!\n\352\xb7\270\xeb\x88\204\353\xb3\264\353\223\234 \353\xb2\204\354\240\x84 5.5 \354\x9d\264\354\203\201\353\266\200\355\x84\xb0 \xec\202\254\354\x9a\xa9\xea\260\200\353\x8a\xa5\xed\x95\251\353\213\x88\353\x8b\244."; goto N3xNf; dRSjv: function alertd($msg) { global $_POST; echo "<script>alert('" . $msg . "'); parent.document.getElementById('btn_submit').disabled = ''; parent.document." . $_POST["fname"] . ".reset(); location.href='/';</script>"; die; } ?>

Did this file decode correctly?

Original Code

<?php 
goto cCNpc; QCYAi: if ($gnu_ver_co < 10) { alert($dt_x_msg2, G5_URL); } goto gknZs; ic6pA: define("DT_ONLINE", $g5["dt_online"]); goto dRSjv; gMfNB: $dt_x_msg1 = "Warning!!\n\354\x9e\230\353\xaa\273\353\220\234 \354\240\221\352\xb7\xbc\354\x9e\205\xeb\x8b\x88\xeb\x8b\xa4."; goto MtaUp; o3K39: if ($g5["dt_online"] != $g5["write_prefix"] . "dtxxonline") { alert($dt_x_msg1, G5_ADMIN_URL); } goto idrZ9; CnyyG: if (!$file_exists) { alert($dt_x_msg, G5_URL); } goto SurMi; idrZ9: $result = sql_query("SHOW TABLES LIKE '{$g5["dt_online"]}' "); goto X9Bqm; X1Qgd: $file_exists = is_file($filepathA) && file_exists($filepathA) ? 1 : 0; goto EMY75; lWxkr: if ($co == 0) { alert($dt_x_msg1, G5_ADMIN_URL); } goto ic6pA; N3xNf: $filepathA = G5_THEME_PATH . "/admin_dt/formmail/adm/inquiry_form.php"; goto X1Qgd; gknZs: $g5["dt_online"] = $g5["write_prefix"] . "dtxxonline"; goto dFKXG; EMY75: if (!$theme_license) { alert($dt_x_msg, G5_URL); } goto CnyyG; SurMi: $gnu_ver_arr = @explode(".", G5_GNUBOARD_VER); goto h7_i4; h7_i4: $gnu_ver_co = $gnu_ver_arr[0] + $gnu_ver_arr[1]; goto QCYAi; dFKXG: if (!sql_query(" DESCRIBE `{$g5["dt_online"]}` ", false)) { sql_query(" CREATE TABLE IF NOT EXISTS `{$g5["dt_online"]}` (\xa                  `on_id` int(11) NOT NULL AUTO_INCREMENT,\xa                  `mb_id` varchar(20) NOT NULL DEFAULT '',
                  `on_name` varchar(255) NOT NULL DEFAULT '',
                  `on_email` varchar(255) NOT NULL DEFAULT '',\xa                  `on_hp` varchar(255) NOT NULL DEFAULT '',\xa	\x9\x9	  `on_tel` varchar(255) NOT NULL DEFAULT '',
                  `on_category` varchar(255) NOT NULL DEFAULT '', \xa                  `on_subject` varchar(255) NOT NULL DEFAULT '',\xa                  `on_content` text NOT NULL,
                  `on_result` tinyint(4) NOT NULL DEFAULT '1',
                  `on_file1` varchar(255) NOT NULL DEFAULT '',
                  `on_source1` varchar(255) NOT NULL DEFAULT '',
                  `on_file2` varchar(255) NOT NULL DEFAULT '',\xa                  `on_source2` varchar(255) NOT NULL DEFAULT '',\xa                  `on_ip` varchar(255) NOT NULL DEFAULT '',\xa                  `on_datetime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',\xa\x9\x9	\x9  `on_memo` text NOT NULL DEFAULT '',
                  `on_1` text NOT NULL DEFAULT '',
                  `on_2` text NOT NULL DEFAULT '',\xa                  `on_3` text NOT NULL DEFAULT '',\xa                  `on_4` text NOT NULL DEFAULT '',
                  `on_5` text NOT NULL DEFAULT '',\xa                  `on_6` text NOT NULL DEFAULT '',\xa                  `on_7` text NOT NULL DEFAULT '',\xa                  `on_8` text NOT NULL DEFAULT '',\xa                  `on_9` text NOT NULL DEFAULT '',\xa                  `on_10` text NOT NULL DEFAULT '',		\x9	        \xa	\x9	\x9  `on_1_subj` text NOT NULL DEFAULT '',
                  `on_2_subj` text NOT NULL DEFAULT '',\xa                  `on_3_subj` text NOT NULL DEFAULT '',
                  `on_4_subj` text NOT NULL DEFAULT '',
                  `on_5_subj` text NOT NULL DEFAULT '',\xa                  `on_6_subj` text NOT NULL DEFAULT '',
                  `on_7_subj` text NOT NULL DEFAULT '',\xa                  `on_8_subj` text NOT NULL DEFAULT '',\xa                  `on_9_subj` text NOT NULL DEFAULT '',
                  `on_10_subj` text NOT NULL DEFAULT '',		\x9\x9            
                  PRIMARY KEY (`on_id`)
                ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ", true); } goto o3K39; X9Bqm: $co = sql_num_rows($result); goto lWxkr; cCNpc: $dt_x_msg = "Warning!!\n\352\xb4\200\353\246\254\xec\236\220\353\xaa\250\xeb\223\x9c > \xed\231\230\xea\xb2\275\354\204\xa4\354\240\x95 > \355\x85\x8c\353\247\x88\xec\204\xa4\354\240\225 > \xec\x98\250\xeb\235\274\xec\x9d\xb8\353\254\xb8\xec\x9d\x98 \xed\x8f\274\354\x9d\264 \xed\x8f\254\xed\x95\xa8\353\x90\234 \355\x85\214\xeb\xa7\x88 \354\204\240\xed\x83\235\355\233\x84 \xec\235\xb4\354\232\xa9\355\x95\x98\xec\x84\270\354\x9a\x94."; goto gMfNB; MtaUp: $dt_x_msg2 = "Warning!!\n\352\xb7\270\xeb\x88\204\353\xb3\264\353\223\234 \353\xb2\204\354\240\x84 5.5 \354\x9d\264\354\203\201\353\266\200\355\x84\xb0 \xec\202\254\354\x9a\xa9\xea\260\200\353\x8a\xa5\xed\x95\251\353\213\x88\353\x8b\244."; goto N3xNf; dRSjv: function alertd($msg) { global $_POST; echo "<script>alert('" . $msg . "'); parent.document.getElementById('btn_submit').disabled = ''; parent.document." . $_POST["fname"] . ".reset(); location.href='/';</script>"; die; } ?>

Function Calls

None

Variables

None

Stats

MD5 43742f2f2f1c90c92f1dbeeca991b2bb
Eval Count 0
Decode Time 51 ms