Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Nessus-Users
[Top] [All Lists]

nessusd.messages

Subject: nessusd.messages
Date: Tue, 21 Sep 2004 14:39:11 -0400
I attempted to create a script the will archive the nessusd.dump file
and the nessusd.messages, because they fill up quickly. I'm running
Nessus 2.0.12 . It works!!!  I gave myself a gold star, being that it's
one of my first real scripts. The only problem is the new
nessusd.messages file is not populating with any data from new scans.
What do I need to do to archive these files and keep the system running?


 

Here is the script I wrote that I added to a weekly cron:

 

#!/bin/bash
declare TARDATE=`date +%R-%F`
gzip -c9 /usr/local/var/nessus/logs/nessusd.dump >>
nessusd.dump_$TARDATE.gz
gzip -c9 /usr/local/var/nessus/logs/nessusd.messages >>
nessus.messages_$TARDATE.gz
mv /usr/local/var/nessus/logs/*.gz /usr/local/var/nessus/log_saves/
 
rm -rf /usr/local/var/nessus/logs/nessusd.dump nessusd.messages
touch /usr/local/var/nessus/logs/nessusd.dump nessusd.messages
chmod 644 /usr/local/var/nessus/logs/nessusd.dump nessusd.messages

 

 

 

Robert McGlon

Office of the Chief Information Security Officer (OCISO)

Centers for Disease Control and Prevention

(770) 488-8658

cdq1@cdc.gov <mailto:cdq1@cdc.gov> 

 

_______________________________________________
Nessus mailing list
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus
<Prev in Thread] Current Thread [Next in Thread>