Re: [Plugins-writers] Command line scan

From: Michel Arboi (mikhail@private)
Date: Wed Oct 12 2005 - 12:38:20 PDT


On Wed Oct 12 2005 at 20:20, Duane Fletcher wrote:

> Does anyone have a sample command line that can be used to have nesses
> scan a single IP address?

I guess that a very simple shell script would do it.
Something like this should work:

#!/bin/sh
TMP=/tmp/addr.$$
for IP in $@; do
  echo $IP > $TMP
  nessus -q nessus_host 1241 user pass $TMP ${IP}.nbe
  rm -f $TMP
done
_______________________________________________
Plugins-writers mailing list
Plugins-writers@private
http://mail.nessus.org/mailman/listinfo/plugins-writers



This archive was generated by hypermail 2.1.3 : Wed Oct 12 2005 - 12:38:48 PDT