John - No need to apologise, I'm the one using Windows :o(

 

But I will try the options out and see what happens

 

From: John Scherff [mailto:[EMAIL PROTECTED] 
Sent: 17 August 2007 18:01
To: Mel Popple; [email protected]
Subject: RE: command line Nessus on Windows

 

My bad... as I was clicking send, I saw the "on Windows" part just as
the message left the building.

 

________________________________

From: John Scherff 
Sent: Friday, August 17, 2007 10:00 AM
To: 'Mel Popple'; [email protected]
Subject: RE: command line Nessus on Windows

 

# NessusClient --help

NessusClient, version 1.0.2.

 

Common options :

 NessusClient [-vnh] [-c .rcfile] [-V] [-T <format>]

Batch-mode scan:

 NessusClient -q [-pPS] <host> <port> <user> <pass> <targets-file>
<result-file>

List sessions  :

 NessusClient -s -q <host> <port> <user> <pass> 

Restore session:

 NessusClient -R <sessionid> -q <host> <port> <user> <pass>
<result-file> 

Report conversion :

 NessusClient -i in.[nsr|nbe] -o out.[html|xml|nsr|nbe]

 

General options :

        -v : shows version number

        -h : shows this help

        -n : No pixmaps

        -T : Output format: 'nbe', 'html', 'html_graph', 'text', 'xml',

            'old-xml' 'tex' or 'nsr'

        -V : make the batch mode display status messages

            to the screen.

        -x : override SSL "paranoia" question preventing nessus from

            checking certificates.

 

The batch mode (-q) arguments are :

        host     : nessusd host

        port     : nessusd host port

        user     : user name

        pass     : password

        targets  : file containing the list of targets

        result   : name of the file where 

                   nessus will store the results

        -p       : obtain list of plugins installed on the server.

        -P       : obtain list of server and plugin preferences.

        -S       : issue SQL output for -p and -P (experimental).

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mel Popple
Sent: Friday, August 17, 2007 7:50 AM
To: [email protected]
Subject: command line Nessus on Windows

 

Afternoon,

 

Is there a comprehensive list of all the options and switches that are
available when scripting the latest version of Nessus using the Windows
Command line tools?

 

I'm pretty new to Nessus and I've read the PDFs on the site but what I
am trying to do is create scripts that will target individual servers
and not ip ranges. This is easy enough to do by just repeating the
'NessusCmd.exe servername' command on different lines in a batch file
but what would be good is to have a text file that lists the servers
(I'll probably generated this file from information within a
spreadsheet) and just pull the names from that.

 

I'd also like to send the results files from different servers to
separate folders.

 

And finally is there a way to download the updates from the site,
transfer them to another workstation on USB stick and then import them
using the UpdateCmd cli tool? I'm presuming this will be another switch
to use with the command.

 

Sadly running it on a *nix box isn't an option, we're a windows only
place

 

Thanks

Mel 

 

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

Reply via email to