Hi Craig,
Unfortunately, nessuscmd has been designed to scan for a select set of
plugins from the command line, not to perform an entire scan. We
intend to improve that situation on windows, but at the moment there
is no easy way to run a scan in batch mode there.
-- Renaud
On May 15, 2008, at 9:39 PM, Craig wrote:
>
> OK, I've looked around but I haven't found any directions for this.
> I'm
> trying to write a script that will run a nessus scan after hours on
> our
> workstations. The scan needs to use multiple plugins (more than can
> be
> listed easily with the -i option). I noticed in the User Guide, on
> UNIX
> something like this can be done using the command:
> /opt/nessus/bin/nessus --dot-nessus scan.nessus --policy 'Full Safe w/
> Compliance' <host> <port> <user> <password> <results-file>
>
> This command does not work on Windows.
>
> I found an older note that indicated how to run the scan from the
> command
> line with all the plugins enabled:
>
> NessusCmd localhost allsafe
> NessusCmd 192.168.0.1-192.168.0.10 all
>
> But neither of those seem to work any longer.
>
> Is there a command for windows that I can use from the command line to
> enable all or select categories of plugins?
>
> Is there an equivalent command in windows where I can ID a .nessus
> file and
> a certain policy in that file when scanning from the command line?
>
> Thanks.
>
>
> Craig L. Bowser
> -------------------------------
> There's a difference between interest and commitment. When you're
> interested
> in doing something, you do it only when circumstances permit. When
> you're
> committed to something, you accept no excuses, just results. -- Art
> Turock
> Sales strategist and author of Invent Business Opportunities No One
> Else Can
> Imagine.
>
> _______________________________________________
> Nessus mailing list
> [email protected]
> http://mail.nessus.org/mailman/listinfo/nessus
>
_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus