https://github.com/TheKingOfDuck/FileMonitor
文件变化实时监控工具(代码审计/黑盒/白盒审计辅助工具)
https://github.com/TheKingOfDuck/FileMonitor
filemanage filemonitor monitoring-tool
Last synced: 30 days ago
JSON representation
文件变化实时监控工具(代码审计/黑盒/白盒审计辅助工具)
- Host: GitHub
- URL: https://github.com/TheKingOfDuck/FileMonitor
- Owner: TheKingOfDuck
- Created: 2019-01-03T10:07:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-02-23T14:59:31.000Z (2 months ago)
- Last Synced: 2025-03-31T19:04:42.525Z (about 1 month ago)
- Topics: filemanage, filemonitor, monitoring-tool
- Language: Python
- Homepage:
- Size: 546 KB
- Stars: 746
- Watchers: 14
- Forks: 131
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hacking-lists - TheKingOfDuck/FileMonitor - 文件变化实时监控工具(代码审计/黑盒/白盒审计辅助工具) (Python)
README
[]()
[]()# FileMonitor
代码审计辅助工具(文件监控)# pypi
```
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环境运行通过
### 依赖:
> [watchdog](https://pypi.org/project/watchdog/)
### 运行:
```
git clone https://github.com/TheKingOfDuck/FileMonitor.git
cd FileMonitor
python fileMonitor.py
```无需依赖版:
```
python main.py
```
(路径可为相对路径)php版本:
```
php fileMonitor.php --dir ./
```# 功能
* 排除不需要监控的文件目录(如测试基于thinkphp开发的CMS时可排除runtime目录)
* 显示/不显示目录变化(程序运行过程中读写变化很快 根据自身需求决定是否需要显示目录变化)

### 应用场景:
* https://xz.aliyun.com/t/3767
* https://xz.aliyun.com/t/3788
## 注意:所输入的路径均为绝对路径。