linux 文件变动监控。

git@h5.yoqi.me 7c15fd3aea add license 1 week ago
watchdog 62ad903ddc Automatic Commit By liuyuqi 2 years ago
LICENSE 7c15fd3aea add license 1 week ago
README.md 62ad903ddc Automatic Commit By liuyuqi 2 years ago
fileMonitor.php 62ad903ddc Automatic Commit By liuyuqi 2 years ago
fileMonitor.py 62ad903ddc Automatic Commit By liuyuqi 2 years ago
filemon 62ad903ddc Automatic Commit By liuyuqi 2 years ago
main.py 62ad903ddc Automatic Commit By liuyuqi 2 years ago

README.md

[PyPI]() [Build]()

FileMonitor

代码审计辅助工具(文件监控)

更新:

2019-05-11: 修复bug 新增无需第三方模块的版本以及php版本。

使用:

环境:

MacOS 10.14 Python2/3环境运行通过

windows 7 Python2.7环境运行通过

如有问题或修改意见 请点击===>问题反馈

依赖:

watchdog

可执行以下命令尝试安装

pip install watchdog
easy_install watchdog

运行:

git clone https://github.com/TheKingOfDuck/FileMonitor.git
cd FileMonitor
python fileMonitor.py

MacOS可pip直接安装:

sudo python2 -m pip install filemon

filemon

无需依赖版:

python main.py

(路径可为相对路径)

php版本:

php fileMonitor.php --dir ./

功能

  • 排除不需要监控的文件目录(如测试基于thinkphp开发的CMS时可排除runtime目录)

  • 显示/不显示目录变化(程序运行过程中读写变化很快 根据自身需求决定是否需要显示目录变化)

screenshot

应用场景:

注意:所输入的路径均为绝对路径。