You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

8 lines
280 B

# A host-based intrusion detection system.
alias ids-scan='sudo tripwire -m c -v -c /etc/tripwire/tw.cfg'
ids-update() {
DIR=/var/lib/tripwire/report
HOST=`hostname -s`
LAST_REPORT=`sudo ls -1t $DIR/$HOST-*.twr | head -1`
sudo tripwire --update --twrfile "$LAST_REPORT"
}