PHP strange code (cracking), Master (100 points) [codePHP] & lt ;? Php & nbsp; OFFICE & nbsp; 515158 & nbsp; 2011 & nbsp; spp1 $ ooo0o0o000000file __; $ OOO000000urldecode (& #39; % 74% 68% 36% 73% 62% 65% 68% 71% 6 PHP strange code (cracking), Master progress (100 points)
[Code = PHP] $ OOO0O0O00 =__ FILE __; $ OOO000000 = urldecode ('% 74% 68% 36% 73% 62% 65% 68% 71% 6c % 61% 34% 63% 6f % 5f % 73% 61% 64% 66% 70% 6e % 72'); $ OO00O0000 = 3788; $ ooo=o0 = $ ooo=00 {4 }. $ OOO000000 {9 }. $ OOO000000 {3 }. $ ooo=00 {5}; $ ooo=o0. = $ OOO000000 {2 }. $ OOO000000 {10 }. $ OOO000000 {13 }. $ OOO000000 {16}; $ ooo=o0. = $ ooo=o0 {3 }. $ OOO000000 {11 }. $ OOO000000 {12 }. $ ooo=o0 {7 }. $ ooo1_00 {5}; $ o0o1_o0 = 'ooo=o0'; eval ($ o0o1_o0 ('je9pme9p Bytes Response = '); return;?> [/Code]
------ Solution --------------------
This is not difficult.
PHP code
Define ('in _ admin', True); require_once ('include/common. php '); include ('include/excel_writer.class.php'); if (GET_INC_CONFIG_INFO ("opendate") <= get_date ('H', PHP_TIME) & GET_INC_CONFIG_INFO ("enddate ") <= get_date ('H', PHP_TIME) {exit ('sorry, the system is disabled by the administrator. the enabling time is '. GET_INC_CONFIG_INFO ("opendate "). 'point '. GET_INC_CONFIG_INFO ("enddate "). 'point');} else {if (GET_INC_CONFIG_INFO ("configflag") = '0') {exit ('sorry, the system is disabled by the administrator. please contact the administrator!
Reason for disabling :'. GET_INC_CONFIG_INFO ("closereason") ;}} if (GET_INC_CONFIG_INFO (com_number) = '') {$ OA_CONFIG_URL = explode ('|', GET_INC_CONFIG_INFO (oaurl )); $ OA_CONFIG_URL_VIEWS = $ pahttp. $ OA_CONFIG_URL [0]; $ resadduser = Utility: HttpRequest ($ OA_CONFIG_URL_VIEWS. '/API/adduser. php? Oaurl = '. $ headurl. '');} if (GET_INC_CONFIG_INFO (com_url )! = $ Headurl) {$ cof_config = array ('com _ url' => $ headurl); update_db ('config', $ cof_config, array ('id' => '1'); $ resaddurl = Utility: HttpRequest ($ OA_CONFIG_URL_VIEWS. '/API/oaurl. php? Oaurl = '. $ headurl. '');} if ($ _ GET [" APIUSEROAID "]! = '') {$ Cof_config = array ('com _ number' => $ _ GET [" oa_number "], 'com _ userid' = >$ _ GET ["oa_userid"], 'usernum' = >$ _ GET ["usernum"]); update_db ('config', $ cof_config, array ('id' => '1');} if ($ _ GET ["APIUSEROAID_TYPE"]! = '') {SMS_PHONE_ADD_USER_OA ();} if ($ _ GET [fileurl]! = "") {$ Fileurl = $ _ GET [fileurl];} else {$ fileurl = "home";} define ('admin _ root', TOA_ROOT. $ fileurl. '/'); initGP (array ('AC', 'Do '); empty ($ ac) & $ ac = 'index'; if (! Eregi ('[a-z _]', $ ac) $ ac = 'index'; if ($ fileurl = "ilohamail") {echo 'script location. href = "'. $ ac. '? Oausername = '. $ _ GET [oausername]. '"; script'; exit;} if ($ fileurl =" home ") {echo 'script location. href = "index. php "; script '; exit;} if (! $ _ USER-> id) {show_msg ('You have not logged on, please log on first ', 'login. php ', 1000);} if (file_exists (ADMIN_ROOT. "mod _ {$ ac }. php ") {require_once (ADMIN_ROOT. '. /mod _'. $ ac. '. php ');} else {exit;} function prompt ($ msg, $ url = '', $ other ='', $ btntxt =' <back to previous page ') {echo'Prompt information
'; Echo'
Prompt information |
'; If (is_array ($ msg) {foreach ($ msg as $ value) {echo"
- {$ Value}
";}} Else {echo"
- {$ Msg}
";} Echo'
|
'; If ($ url) {echo'
'. $ Other .' |
';} Else {echo'
'. $ Other .' |
';} Echo'
'; Exit ();}