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: command line Nessus on Windows

Subject: RE: command line Nessus on Windows
Date: Fri, 17 Aug 2007 10:00:25 -0700
# 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: nessus-bounces@list.nessus.org
[mailto:nessus-bounces@list.nessus.org] On Behalf Of Mel Popple
Sent: Friday, August 17, 2007 7:50 AM
To: nessus@list.nessus.org
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
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus
<Prev in Thread] Current Thread [Next in Thread>