Go figure: I specified the ~/.nessus/<TaskName>/<ScopeName>/nessusrc and it worked.

Many thanks.
--aj

A. J. Wright -- <[EMAIL PROTECTED]>
Senior Security Analyst, Information Security Office
University of Tennessee, Knoxville

On Mar 8, 2006, at 12:00 PM, sawall wrote:

Which nessusrc file are you using?

Let's say your nessusrc files are in /root. Are you using / root/.nessusrc? Or are you using: /root/.nessus/<ScopeName>/ <TaskName>/nessusrc?

The later should have the proper settings.

Chris


On 3/8/06, A. J. Wright <[EMAIL PROTECTED]> wrote: Hello,

We're trying to perform a scan for a single plugin from the command
line (cron, etc.), but we're having trouble finding information on
the config file format.

To this point, we've been setting up the scan with NessusClient,
saving the config file, and running similar to the following.

nessus -c [config file] -q -T xml \
   [nessus server] [nessus server port] [username] [password] \
   [target file] [outputfile.xml]

The problem is: when we run the config from NessusClient, we've got a
specific port range we want to scan (say: 100-110/tcp), and it does
as requested.

When we scan from the command line using the same config (without
modifying the server by updating plugins or anything), it scans the
entire port range (1-65536/tcp).  This causes some firewall woes.

Note: we've not yet investigated update-nessusrc yet. Is it necessary?

Questions:
1. Where can we find more documentation on working the command line
(or batch mode) tool.  We've checked the man page, the PDFs (advanced
users guide, client guide, and install guide) and are still looking.

2. Is the config file saved from NessusClient supposed to work as
input for nessus' command line/batch mode?

3. Are there any suggestions as to how to proceed with the above
problem?

Many thanks,
--aj

A. J. Wright -- <[EMAIL PROTECTED] >
Senior Security Analyst, Information Security Office
University of Tennessee, Knoxville





_______________________________________________
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