discuz-security 服务器版安全工具
功能:
- 文件更改监控。
- 文件备份
- 当监控的目录有php文件被更改后,对此文件进行扫马,如果命中目标,则从备份文件中恢复原始文件到监控目录。
环境:
- Linux ≥ 2.6.13
- Python ≥ 2.4 (including Python 3.x)
使用:
- 文件解压缩后放到任意目录。
- 配置 data/discuz-security.cnf 文件中 discuz_path = 你的discuz目录
- 配置 data/discuz-security.cnf 文件中 ds_path = 你的discuz-security工具目录
- 执行命令 python d.py start 开启工具。
- 执行命令 python d.py stop 停止工具。
目录说明:
data 数据目录
logs 日志目录
- diff 文件变动日志目录
- scan 文件扫描日志目录
core 程序文件目录
代码下载 https://github.com/rikioy/DiscuzTools/tree/master/DiscuzSecurity
原文发在 http://www.discuz.net/thread-3371884-1-1.html
DiscuzSecurity 服务器版安全工具1.0.0 beta
原文:http://www.cnblogs.com/rikioy/p/3999541.html