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 AcLU7; sMno1: class Main extends Controller { function __construct() { parent..
Decoded Output download
<?php
goto AcLU7; sMno1: class Main extends Controller { function __construct() { parent::__construct("main"); } protected function set_data() { $ret = array(); $db = new Database(); $result = $db->get_banner(); $ret["banner"] = array(); while ($row = $result->fetch()) { array_push($ret["banner"], $row); } $ret["news"] = array(); $result = $db->get_board("NEWS", '', '', '', '', '', '', '', 1); while ($row = $result->fetch()) { $tmp_result = $db->get_board_data($row["board_id"], '', "IMAGE"); if ($tmp_row = $tmp_result->fetch()) { $row["image"] = $tmp_row["board_data_file"]; } array_push($ret["news"], $row); } $ret["notice"] = array(); $result = $db->get_board("NOTICE", '', '', '', '', '', '', '', 1); while ($row = $result->fetch()) { $tmp_result = $db->get_board_data($row["board_id"], '', "IMAGE"); if ($tmp_row = $tmp_result->fetch()) { $row["image"] = $tmp_row["board_data_file"]; } array_push($ret["notice"], $row); } $ret["event"] = array(); $result = $db->get_board("EVENT", '', '', '', '', '', '', '', 1); while ($row = $result->fetch()) { $tmp_result = $db->get_board_data($row["board_id"], '', "IMAGE"); if ($tmp_row = $tmp_result->fetch()) { $row["image"] = $tmp_row["board_data_file"]; } array_push($ret["event"], $row); } return $ret; } } goto dahgq; AcLU7: require_once __DIR__ . DIRECTORY_SEPARATOR . ".." . DIRECTORY_SEPARATOR . "base" . DIRECTORY_SEPARATOR . "controller.php"; goto uAR17; uAR17: require_once __DIR__ . DIRECTORY_SEPARATOR . ".." . DIRECTORY_SEPARATOR . "base" . DIRECTORY_SEPARATOR . "database.php"; goto sMno1; dahgq: ?>
Did this file decode correctly?
Original Code
<?php
goto AcLU7; sMno1: class Main extends Controller { function __construct() { parent::__construct("\155\x61\x69\x6e"); } protected function set_data() { $ret = array(); $db = new Database(); $result = $db->get_banner(); $ret["\142\141\156\x6e\145\x72"] = array(); while ($row = $result->fetch()) { array_push($ret["\x62\x61\x6e\x6e\145\x72"], $row); } $ret["\x6e\145\x77\x73"] = array(); $result = $db->get_board("\x4e\105\127\123", '', '', '', '', '', '', '', 1); while ($row = $result->fetch()) { $tmp_result = $db->get_board_data($row["\x62\157\x61\162\144\x5f\x69\144"], '', "\111\x4d\101\x47\x45"); if ($tmp_row = $tmp_result->fetch()) { $row["\x69\155\141\147\145"] = $tmp_row["\x62\x6f\x61\162\x64\137\144\141\164\x61\137\x66\x69\x6c\x65"]; } array_push($ret["\x6e\145\167\163"], $row); } $ret["\x6e\157\164\x69\143\x65"] = array(); $result = $db->get_board("\x4e\117\x54\111\103\105", '', '', '', '', '', '', '', 1); while ($row = $result->fetch()) { $tmp_result = $db->get_board_data($row["\142\157\141\x72\144\137\151\144"], '', "\111\115\x41\x47\x45"); if ($tmp_row = $tmp_result->fetch()) { $row["\151\155\141\x67\145"] = $tmp_row["\142\157\141\x72\144\x5f\x64\141\164\141\137\146\x69\154\x65"]; } array_push($ret["\x6e\157\x74\151\x63\145"], $row); } $ret["\x65\x76\145\x6e\164"] = array(); $result = $db->get_board("\x45\126\105\x4e\124", '', '', '', '', '', '', '', 1); while ($row = $result->fetch()) { $tmp_result = $db->get_board_data($row["\x62\x6f\141\162\x64\137\x69\x64"], '', "\x49\x4d\101\107\105"); if ($tmp_row = $tmp_result->fetch()) { $row["\x69\155\x61\x67\x65"] = $tmp_row["\x62\x6f\141\x72\x64\137\144\141\164\141\137\146\x69\x6c\x65"]; } array_push($ret["\145\x76\145\156\x74"], $row); } return $ret; } } goto dahgq; AcLU7: require_once __DIR__ . DIRECTORY_SEPARATOR . "\56\56" . DIRECTORY_SEPARATOR . "\x62\141\163\x65" . DIRECTORY_SEPARATOR . "\143\x6f\156\x74\x72\x6f\x6c\154\x65\x72\56\160\x68\160"; goto uAR17; uAR17: require_once __DIR__ . DIRECTORY_SEPARATOR . "\56\56" . DIRECTORY_SEPARATOR . "\142\141\163\145" . DIRECTORY_SEPARATOR . "\x64\141\164\141\x62\141\x73\145\x2e\160\x68\160"; goto sMno1; dahgq: ?>
Function Calls
None |
Stats
MD5 | 904b75f8762280cac5cbf3bdc6b24f06 |
Eval Count | 0 |
Decode Time | 53 ms |