slipwire.pl
MD5 Signatures:
slipwire.pl 016356f249087d0ea94043d7c92bc998 reader.pl b261b87565283819cc418253791f6fd2
Version 1.4
This script started off as an attempt to capture some of the basic functions of the Tripwire product, and ended up as a decent learning experience for perl, DBM files and digest hashing.
I implemented some additional features based on some feedback I got, (see CHANGES) and this is actually turning into quite a useful little tool .
I would advise caution if you're thinking about using this in any sort of production environment. In fact, I don't warrant that this script will work at all. Don't use it. Anywhere. It's been tested under (and is know to run in) FreeBSD3.4-STABLE.
In any event, I'm continuing to make it available because it might be useful to other folks and Lord knows, I've certainly made liberal use of other people's work in my perl education.
Questions, comments, concerns, rants or raves are welcome. The latest version will always be available at the URL below.
Regards,
James Quinby
jquinby@node.to
http://packet.node.to
22 Feb 2000
##################
- Usage
./slipwire [options] database [file_list.txt|file1 file2 file3...]
- Options
-create
Creates the initial database of filenames and their SHA1 hashes. You want to do this the first time you run this program and whenever you want to update it after changing files.
- eg
./slipwire -create test.dbm list_example.txt
...will read the list of paths in list_examples.txt and store the SHA1 hashes of all of the files in test.dbm. Note that you'll need read permissions on the directories (and all the files therein). You can alternatively use
./slipwire -only my test.dbm file1 file2 file3...
..to only store the hashes of file1, file2 and file3. Note that you'll need read permissions on the directories (and all the files therein).
More complete usage instructions are in the comments of the script.
