日期:2014-05-17  浏览次数:20577 次

PHP奇怪的代码(破解),高手进(100分)
[code=PHP] <?php   //   OFFICE   515158   2011   spp1
$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;$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$O0O0000O0= 'OOO0000O0 ';eval(($$O0O0000O0( 'JE9PME9PMDAwMD0kT09PMDAwMDAwezE3fS4kT09PMDAwMDAwezEyfS4kT09PMDAwMDAwezE4fS4kT09PMDAwMDAwezV9LiRPT08wMDAwMDB7MTl9O2lmKCEwKSRPMDAwTzBPMDA9JE9PME9PMDAwMCgkT09PME8wTzAwLCdyYicpOyRPTzBPTzAwME89JE9PTzAwMDAwMHsxN30uJE9PTzAwMDAwMHsyMH0uJE9PTzAwMDAwMHs1fS4kT09PMDAwMDAwezl9LiRPT08wMDAwMDB7MTZ9OyRPTzBPTzAwTzA9JE9PTzAwMDAwMHsxNH0uJE9PTzAwMDAwMHswfS4kT09PMDAwMDAwezIwfS4kT09PMDAwMDAwezB9LiRPT08wMDAwMDB7MjB9OyRPTzBPTzAwME8oJE8wMDBPME8wMCwxMTYwKTskT08wME8wME8wPSgkT09PMDAwME8wKCRPTzBPTzAwTzAoJE9PME9PMDAwTygkTzAwME8wTzAwLDM4MCksJ3JkUW0xME9SdC9pdTZBOFl6RnY1TnFqVnlCbGtaSHMyVUtuaDRHWEVmUzkzY2JhVDdKd01neG9DTEllK1BXRHA9JywnQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLycpKSk7ZXZhbCgkT08wME8wME8wKTs= ')));return;?> [/code]

------解决方案--------------------
这个也不难
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('对不起,系统被管理员关闭,开启时间为'.GET_INC_CONFIG_INFO("opendate").'点到'.GET_INC_CONFIG_INFO("enddate").'点');
}else{
if (GET_INC_CONFIG_INFO("configflag")=='0'){
exit('对不起,系统被管理员关闭,请联系管理员!<br>关闭原因:'.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('你还没有登录,请先登录','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 = '&lt;&lt;返回上一页') {
echo '<html><title>提示信息</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><head><link rel="stylesheet" type="text/css" href="css/style.css" /></head><body>';
echo '<table cellspacing="0" class="prompt" align="center"><tr><th>提示信息</th></tr><tr><td><ol>';
if (is_array($msg)) {
foreach ($msg