I am currently attempting to do the same thing, but I connect to my server
using a password.  I have saved the password in the profile, and I have also
clicked "Don't show execution options dialog at session execution."  If I
manually click on the profile in the NessusWX client, the scan immediately
starts running without prompting me for passwords/options, etc.  I would
assume that this means that a batch job can run without the need of user
intervention.

I receive an error every time I try to run a batch job.  
When I type:

        nessuswx --batch test1

I get the following error in my nessuswx-batch.log

[10-Jan-2003 11:13:55] Batch log file opened
<<< Cannot open debug log >>>
Connecting to server sun22 (port 1241) using TLSv1 encrypted connection...
SSL connection using DES-CBC3-SHA
Using < NTP/1.2 >
ERROR: Invalid username or password supplied. Connection terminated.
Batch job finished



-----Original Message-----
From: Patrick Webster [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 9:42 PM
To: '[EMAIL PROTECTED]'
Subject: NessusWX - Windows Scheduling


Hi All,

Not sure if this is the right list to post to (I can't find a NessusWX one),
but here goes:

I'm trying to automate NessusWX to conduct daily scans of certain addresses
via AT (scheduling in Win2k or NT).

I have properly set up the session configuration and batch scripts, so that
I can run 'do_scan.cmd' and nessuswx will load the session, connect to
nessusd, download the plug-ins and start the scan. When I try and schedule
it as an AT job, I get the error message:

[06-Jan-2003 17:33:00] Batch log file opened
New encryption key was generated
MSG(Error) Cannot load session configuration from disk.
Batch job finished

I am aware that when using AT you need to specify absolute paths to files,
even if it's in the system path. I have done this, yet I still get errors;
My thoughts are that the '--batch' flag is the culprit, as it asks for
session name, not absolute path to session folder. An example would be that
$session, running under AT, is %systemroot%\$session . "session"\.

Has anyone got this working?

Cheers,
-Patrick
-
[EMAIL PROTECTED]: general discussions about Nessus.
* To unsubscribe, send a mail to [EMAIL PROTECTED] with
"unsubscribe nessus" in the body.

Reply via email to