来源:自学PHP网 时间:2015-04-17 13:03 作者: 阅读:次
[导读] 某基友在某地门户上班..网站总让人日..so..让吾等小菜帮忙看一下 菜文 勿喷 抛砖引玉专用只是粗略瞄了几眼..坑啊..\common\lib\FCKeditor\editor\filemanager\upload\php\config.php$Config[#39;AllowedExte......
某基友在某地门户上班..网站总让人日..so..让吾等小菜帮忙看一下 菜文 勿喷 抛砖引玉专用
只是粗略瞄了几眼..坑啊.. \common\lib\FCKeditor\editor\filemanager\upload\php\config.php $Config['AllowedExtensions']['File'] = array() ; $Config['DeniedExtensions']['File'] = array('php','php2','php3','php4','php5','phtml','pwml','inc','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','com','dll','vbs','js','reg','cgi') ; $Config['AllowedExtensions']['Image'] = array('jpg','gif','jpeg','png') ; $Config['DeniedExtensions']['Image'] = array() ; $Config['AllowedExtensions']['Flash'] = array('swf','fla') ; $Config['DeniedExtensions']['Flash'] = array() ;根本木有过滤media有木有.. news\install\index.php.bak 这货竟然还带一个dede..虽然是bak备份文件..但是在apache中默认不解析bak...so 向上解析为php www.2cto.com <?php /** * */ $insLockfile = dirname(__FILE__).'/install_lock.txt'; /*省略代码*/ foreach(Array('_GET','_POST','_COOKIE') as $_request) { foreach($_request as $_k => $_v) ${$_k} = RunMagicQuotes($_v); } require_once(DEDEINC.'/common.func.php'); if(file_exists($insLockfile)) { exit(" 程序已运行安装,如果你确定要重新安装,请先从FTP中删除install/install_lock.txt!"); } ?> dede后台拿shell大家都懂.. 典型的全局变量覆盖.悲催了... 其实就是dede二次开发的:http://www.17558.net/post/576.html 这东东,当年我还给客户装过…… 摘自:/forum.90sec.org |
自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习
京ICP备14009008号-1@版权所有www.zixuephp.com
网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com