Nessus
[Top] [All Lists]

RE: Options for command line scanning

To: "Kevin Reiter" <KReiter@insidefsi.net>, "Morris, Josh" <Josh.Morris@smithnephew.com>, "Nessus List \(E-mail\)" <nessus@list.nessus.org>
Subject: RE: Options for command line scanning
From: "Doty, Timothy T." <tdoty@umr.edu>
Date: Wed, 28 Feb 2007 09:07:12 -0600
Cc:
Delivered-to: sp-com-lists@consult.net
Delivered-to: nessus-list1@securepoint.com
Delivered-to: nessus@list.nessus.org
In-reply-to: <184B0715C3D74243B86F872B55C340E7037BBB1F@fsi32.fsidp.insidefsi.com>
List-archive: <http://mail.nessus.org/pipermail/nessus>
List-help: <mailto:nessus-request@list.nessus.org?subject=help>
List-id: Discussion of Nessus software <nessus.list.nessus.org>
List-post: <mailto:nessus@list.nessus.org>
List-subscribe: <http://mail.nessus.org/mailman/listinfo/nessus>, <mailto:nessus-request@list.nessus.org?subject=subscribe>
List-unsubscribe: <http://mail.nessus.org/mailman/listinfo/nessus>, <mailto:nessus-request@list.nessus.org?subject=unsubscribe>
References: <79B17D087B31F7479CE22407B183458805AB0EF2@Memsrv110.ortho.san> <184B0715C3D74243B86F872B55C340E7037BBB1F@fsi32.fsidp.insidefsi.com>
Sender: nessus-bounces@list.nessus.org
Thread-index: AcdbROaJHlSY7t5NS2m4VmjaZSjC4AAATN2AAABkUaAAAIelMA==
Thread-topic: Options for command line scanning
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: nessus-bounces@list.nessus.org [mailto:nessus-bounces@list.nessus.org]
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:Josh.Morris@smithnephew.com]
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: nessus-bounces@list.nessus.org
[mailto:nessus-bounces@list.nessus.org] 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
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus
_______________________________________________
Nessus mailing list
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus

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>