On Thu, 19 Jan 2006, Brahmam Lv wrote:

Hi Josh

Thanks for your mail, It works fine with me.  I wanted to create a report
for each host on my network, like if scanner find any hole for 10
systems, i would like to have 10 reports to be generated. Is there anyway
for above. Thanks in Advance.

One way to do this is something like following (note the code is
untested and assumes the IPs in the report are in the 10.1.0.0/16
network):

for i in `grep 10.1 YourOutputFile.nbe |cut -d "|" -f 3|sort|uniq`;
  do grep $i YourOutputFile.nbe |grep Hole;
  r=$?;
  if [ $r == 0 ];
  then
    grep $i CShare1020.nbe |grep Hole > $i.nbe;
  fi;
done

--
 - Josh
_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus

Reply via email to