2017 © Pedro Peláez
 

library 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.

image

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.

  • Sunday, April 1, 2012
  • by robo47
  • Repository
  • 1 Watchers
  • 3 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

DirectoryHasher

Build Status, (*1)

DirectoryHasher is a small library to create files with hashes and file-informations from a directory-structure to compare it with another result later., (*2)

This allows to detect changes on your webspace which may come from intrusions, (*3)

For compatiblity reasons it should be php 5.2 compliant., (*4)

Requirements

PHP 5.2 - DOM - SPL, (*5)

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., (*6)

Further unimplemented ideas

  • More flexible Comparator
  • Way to filter differences which can be ignored (eg. based on directory)

The Versions

01/04 2012

dev-master

9999999-dev https://github.com/robo47/Robo47_DirectoryHasher

DirectoryHasher is a small library to create files with hashes and file-informations from a directory-structure to compare it with another result later.

  Sources   Download

MIT

The Requires

  • php >=5.2.4

 

directory hash