robo47/directory-hasher
Composer 安装命令:
composer require robo47/directory-hasher
包简介
DirectoryHasher is a small library to create files with hashes and file-informations from a directory-structure to compare it with another result later.
关键字:
README 文档
README
DirectoryHasher is a small library to create files with hashes and file-informations from a directory-structure to compare it with another result later.
This allows to detect changes on your webspace which may come from intrusions
For compatiblity reasons it should be php 5.2 compliant.
Requirements
PHP 5.2
- DOM
- SPL
Example
In /examples/ you find some hackish example scripts which create result-files, compares them and one which can be used together with a cronjob to regulary check a directory and send mails if something changes.
Further unimplemented ideas
- More flexible Comparator
- Way to filter differences which can be ignored (eg. based on directory)
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-03-10