It is possible, but with the version you are using you will have to setup
custom config files. In our environment we do this by having cron run a
wrapper that deals with creating timestamped config files and calling nessus
with them. The beta version allows setting options on the commandline.

Tim Doty 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Kevin Reiter
Sent: Wednesday, February 28, 2007 8:53 AM
To: Morris, Josh; Nessus List (E-mail)
Subject: RE: Options for command line scanning

Thanks, but the actual cron job portion isn't the issue - it's defining
which ports that I want the Nessus scanner to scan, rather than scanning a
pre-defined range.

-----Original Message-----
From: Morris, Josh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 28, 2007 9:40 AM
To: Kevin Reiter; Nessus List (E-mail)
Subject: RE: Options for command line scanning


I have been working on this and finally got it to work, heres what I did...

# crontab -l (shows cron jobs)
# crontab -e (edits cron jobs)

        Insert...
# * * * * * /opt/nessus/bin/nessus -q -T html 127.0.0.1 1241 username
password /home/reports/addresses.txt /home/reports/scan.html

Look up Crontab and you'll see what value to put for the stars. We scan at
the first of every month.

Hope this helps.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin Reiter
Sent: Wednesday, February 28, 2007 8:30 AM
To: Nessus List (E-mail)
Subject: Options for command line scanning

Hi all,

I'm trying to setup a cron job to scan certain hosts on specific ports
(output from a previously-run nmap scan), but every option I've tried just
displays the help screen.  Is it possible to do this from the command line?
I know how to do it with a GUI client, but I'm trying to automate the
process.  Any assistance would be most appreciated.

O/S: FreeBSD 6.2
Nessus Server/Client: 3.0.5


Kevin Reiter
Senior Security Engineer
Financial Services, Inc.
21 Harristown Road
Glen Rock, New Jersey 07452
(201)652-6000, ext. 588
PGP ID: 0xEE665233

This message may contain confidential or proprietary information and is
intended solely for the individual(s) to whom it is addressed.  If you are
not a named addressee you should not disseminate, distribute or copy this
e-mail or act upon the information contained herein.  Please notify the
sender immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system.

_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus
_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus

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

_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus

Reply via email to