#!/usr/local/bin/bash # greps the snort log specified # and outputs the proper info into another log # usage: grepincident inputfile outputfile # # Zoidial, Inc. # Eric Thern, 2001 # echo "showing and copying log files" ls -la /var/log/security /var/log/snort.log cp /var/log/security /root/incident/ cp /var/log/snort.log /root/incident/ newsyslog -F -f newsyslog.conf & echo "newsyslog -F running!"