Nessus
[Top] [All Lists]

Re: Options for command line scanning

To: "Nessus List (E-mail)" <nessus@list.nessus.org>
Subject: Re: Options for command line scanning
From: "George A. Theall" <theall@tenablesecurity.com>
Date: Wed, 28 Feb 2007 12:49:14 -0500
Delivered-to: sp-com-lists@consult.net
Delivered-to: nessus-list1@securepoint.com
Delivered-to: nessus@list.nessus.org
In-reply-to: <184B0715C3D74243B86F872B55C340E7037BBB24@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: <184B0715C3D74243B86F872B55C340E7037BBB24@fsi32.fsidp.insidefsi.com>
Sender: nessus-bounces@list.nessus.org
User-agent: Thunderbird 1.5.0.9 (X11/20061206)
On Wed, Feb 28, 2007 at 11:28:04AM -0500, Kevin Reiter wrote:

Doing my test run now.  If anyone's interested, this is the script I just 
whipped up for testing it:
...
nmap -n -sS -p1-65535 -oG $target $subnet/24
...
nessus -q -x -V -c /root/.nessusrc -T html localhost 1241 username password 
$target $results/$subnet.html

You appear to use nmap's greppable output file, $target, as the target specification for the Nessus client. I'd be surprised if that works. What might be better is to echo "$subnet/24" to a separate file and use that as the penultimate commandline argument.

George
--
theall@tenablesecurity.com
_______________________________________________
Nessus mailing list
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus

<Prev in Thread] Current Thread [Next in Thread>