返回列表 回复 发帖
深喉咙ASP3.3版本正式发布

[重要更新通知]鉴于fckeditor编辑器的漏洞,SHL3.8在2010.02.08号更新内容

本帖最后由 ysuny 于 2010-2-8 13:49 编辑

通知更新内容如下:
      如果您使用的是SHLCMS PHP版本而且是在2010.02.08月之前的版本(包括PHP双语测试版本),请尽快更新以下内容。
    更新方法1:请下载下面附件edtor.rar文件,并解压覆盖您程序 "根目录\editor\editor\filemanager\upload"下所有内容。切记,不是程序 跟目录下的upload,看清楚路径 ,别覆盖错了
    更新方法2:用dreamweaver或editplus工具打开 "根目录\editor\editor\filemanager\upload\php\config.php"打开,在最后一行 ?>  之前插入以下代码
  1. $Config['AllowedExtensions']['Media'] = array('swf','fla','jpg','gif','jpeg','png','avi','mpg','mpeg','flv') ;
  2. $Config['DeniedExtensions']['Media'] = array() ;
复制代码
.
    更新方法3:将config.php文件整个更新为
  1. <?php
  2. /*
  3. * FCKeditor - The text editor for Internet - http://www.fckeditor.net
  4. * Copyright (C) 2003-2007 Frederico Caldeira Knabben
  5. *
  6. * == BEGIN LICENSE ==
  7. *
  8. * Licensed under the terms of any of the following licenses at your
  9. * choice:
  10. *
  11. *  - GNU General Public License Version 2 or later (the "GPL")
  12. *    http://www.gnu.org/licenses/gpl.html
  13. *
  14. *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
  15. *    http://www.gnu.org/licenses/lgpl.html
  16. *
  17. *  - Mozilla Public License Version 1.1 or later (the "MPL")
  18. *    http://www.mozilla.org/MPL/MPL-1.1.html
  19. *
  20. * == END LICENSE ==
  21. *
  22. * File Name: config.php
  23. *  Configuration file for the PHP File Uploader.
  24. *
  25. * File Authors:
  26. *  Frederico Caldeira Knabben (www.fckeditor.net)
  27. */

  28. global $Config ;

  29. // SECURITY: You must explicitelly enable this "uploader".
  30. $Config['Enabled'] = true ;

  31. // Set if the file type must be considere in the target path.
  32. // Ex: /userfiles/image/ or /userfiles/file/
  33. $Config['UseFileType'] = true ;

  34. // Path to uploaded files relative to the document root.
  35. $Config['UserFilesPath'] = ROOTPATH.'/upload/' ;

  36. // Fill the following value it you prefer to specify the absolute path for the
  37. // user files directory. Usefull if you are using a virtual directory, symbolic
  38. // link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
  39. // Attention: The above 'UserFilesPath' must point to the same directory.
  40. $Config['UserFilesAbsolutePath'] = '' ;

  41. // Due to security issues with Apache modules, it is reccomended to leave the
  42. // following setting enabled.
  43. $Config['ForceSingleExtension'] = true ;

  44. $Config['AllowedExtensions']['File'] = array() ;
  45. $Config['DeniedExtensions']['File'] = array('html','htm','php','php2','php3','php4','php5','phtml','pwml','inc','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','com','dll','vbs','js','reg','cgi','htaccess','asis') ;

  46. $Config['AllowedExtensions']['Image'] = array('jpg','gif','jpeg','png') ;
  47. $Config['DeniedExtensions']['Image'] = array() ;

  48. $Config['AllowedExtensions']['Flash'] = array('swf','fla') ;
  49. $Config['DeniedExtensions']['Flash'] = array() ;

  50. $Config['AllowedExtensions']['Media'] = array('swf','fla','jpg','gif','jpeg','png','avi','mpg','mpeg','flv') ;
  51. $Config['DeniedExtensions']['Media'] = array() ;
  52. ?>
复制代码
以上三种方法选一即可。在修改前切记要做好文件备份

upload.rar (17.13 KB)

哎!从一品官降到了二品!难到明天就是三品?究竟是升还是降哇
深喉咙PHP4.01版本发布
沙发
深喉咙ASP3.3版本正式发布
出租,广告位! 嘎嘎~~
深喉咙PHP4.01版本发布
赶紧的,近距离!
深喉咙ASP3.3版本正式发布
第二种方法比较简单一点。
深喉咙PHP4.01版本发布
咋回事,是上传文件漏洞吗?我的网站上传目录没有脚本运行权限,应该没问题吧
深喉咙ASP3.3版本正式发布
楼上的。。。那也建议你更新一下。。。理论上说还是有问题的
哎!从一品官降到了二品!难到明天就是三品?究竟是升还是降哇
深喉咙PHP4.01版本发布
顶,一定要让更多的朋友看到
网站建设:东创传播
企业网站专用独立IP空间,
完美支持深喉咙URL重写功能,
高速稳定安全,又实惠
QQ:813095
顶,一定要让更多的朋友看到
HTTP://WWW.18800188.COM 188企业通平台正在火热内测中……
也来顶一下!!!!
欢迎查看本贴'
什么问题来着?
收到,马上更新,前排不容易。
优质的主机+优秀的服务=铭思数据www.msxd.net  客服QQ:362895541
返回列表