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]

RE: New Nessus File Format

Subject: RE: New Nessus File Format
Date: Tue, 22 Jan 2008 10:45:22 -0600
I didn't see anything specific as to pulling the plugin data from nessus. If
I missed it, sorry, but here is a command:

nessus -q -pS <server> <port> <user> <passwd>

This will dump the plugin information to stdout formatted as SQL statements
along the lines of:

INSERT INTO plugins VALUES (...)

If you have a database with a "plugins" table having the required fields you
can simply use the output to insert the data. If, as in our case, it doesn't
quite match (our oracle DBAs wanted some of the fields to be smaller which
requires truncating data) or you need to handle insert vs update (oracle
doesn't have the INSERT ... UPDATE syntax) then a simple script handles
updating the database.

Tim Doty

-----Original Message-----
From: nessus-bounces@list.nessus.org [mailto:nessus-bounces@list.nessus.org]
On Behalf Of Larry Petty
Sent: Monday, January 21, 2008 9:05 PM
To: Ron Gula
Cc: Nessus@list.nessus.org
Subject: Re: New Nessus File Format



If you are coding on UNIX, if you install Nessus on your system, you can use
some of the 'nessus' command line options to connect to your Nessus scanners
and obtain plugin information.

Ron Gula
Tenable Network Security


Ron,

This would solve my problem. Are you refering to converting the .NBE file to
XML via command line? If not, can you tell me the command to obtain the
plugin information via the linux command line? Will this command be
supported in Nessus 3.2? Thanks for your help!

Here is how I do it today:

/opt/nessus/bin/nessus \
    -c /usr/local/bin/scripts/.nessusrc-normal \
    -i /home/scan-data/${SAVETO}/nessus/nessus-scan.nbe \
    -o  /home/scan-data/${SAVETO}/nessus/nessus-scan.xml


________________________________

Never miss a thing. Make Yahoo your homepage.
<http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>  

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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