代码审计辅助工具(文件监控)
python setup.py sdist
twine upload dist/*
所有unix相关的系统可使用pip一键安装:
python3 -m pip install filemon==1.3 -i https://pypi.python.org/simple/
filemon -h
MacOS 10.14 Python2/3环境运行通过
windows 7 Python2.7环境运行通过
git clone https://github.com/TheKingOfDuck/FileMonitor.git
cd FileMonitor
python fileMonitor.py
无需依赖版:
python main.py
(路径可为相对路径)
php版本:
php fileMonitor.php --dir ./
-
排除不需要监控的文件目录(如测试基于thinkphp开发的CMS时可排除runtime目录)
-
显示/不显示目录变化(程序运行过程中读写变化很快 根据自身需求决定是否需要显示目录变化)