Simple bash tripwire, based on binsnitch
Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
trigger.sh

README.md

tripwire_bash

Simple bash tripwire, idea based on binsnitch. Use it to monitor for changes in a certain directory. Based of a baseline file.

requirements

  • bash
  • md5sum (this can be changed to sha256 fairly simple)

usage

cd /opt
git clone https://github.com/svennd/tripwire_bash
mkdir -p /opt/trip

Add cron : (run once a day, at 00:00)

EDITOR=nano crontab -e
0 0 * * * /opt/trigger.sh /my/dir/to/check

By default the script cannot alert you. I Like to use postToRocket