PhpWebChecksum
PhpWebChecksum is a little php project which aims to provide the means to create checksums for whole websites to be able to monitor which files have changed, have been added or were deleted. A brief introduction can be found in my blog post checking websites for intrusions.
Features
- a single php script containing all the logic can easily uploaded to any site
- no data is stored on the server, i.e. nothing is written or changed on your website.
- for each file on your site a SHA1 checksum, the file dates, owner and unix permissions are stored in an xml document
- the xml checksum list can be downloaded
- a locally stored (perviously downloaded) checksum list can be compared with the current state of the website
Known Bugs / Limitations
- The checksum list and the comparison are generated in memory only. While this is also a feature, the maximium memory size php is allowed to use limits the amount of files that can be checked and compared.
Ressources
- For a detailed history the current development have a look at the posts on the blog about PhpWebChecksum.
- The sourceforge project page for PhpWebChecksum can be used for bugreports and feature requests.
One Response to “PhpWebChecksum”
Leave a Reply

techbits.de » Blog Archive » PhpWebChecksum to be released soon on January 11th, 2006
[...] The first version of my php script to monitor changes in your website will be released soon. I already set up a sourceforge account for PhpWebChecksum which will be mainly used for bugtracking, and maybe source code management (CVS) and file storage for releases for now. The projects homepage will be hosted on techbits.de under /projects/phpwebchecksum which is already available as well. At this point I have to make sure I can use Keith Devens’ PHP XML Library which I included in my php script and figure out how I’ll solve the pass-by-reference issue when switching between PHP4 und PHP5. [...]