Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: can nessus client sort by number of holes instead of sorting by IP? |
|---|---|
| Date: | Wed, 27 Apr 2005 13:23:30 -0400 |
On Wed, Apr 27, 2005 at 01:00:37PM +1200, Jason Haar wrote:
Currently the "-T html" output mode generates an HTML report where the found IP addresses are sorted by IP. So if you have 50+ machines, you can spend some time reading every one trying to discover which is the "nastiest" (i.e. the one with the most "Security Hole"s) to deal with first.
...
Should this be a feature request,
Sure, I personally think improvements in reporting would be nice, but I'll leave it to others to decide how high a priority this should have.
and has anyone else found a way of doing this?
Here's a one-liner in AWK that takes an NBE file and
produces a count of notes / warnings / holes for each host.
awk -F '|' 'BEGIN { printf "%-30s %-5s %-5s %-5s\n",
"Host", "Notes", "Warns", "Holes";} $1 == "results"
{hosts[$3]++; counts[$3,$6]++;} END {for (host in hosts) {
printf "%-30s ] ] ]\n", host ":", counts[host,"Security
Note"], counts[host,"Security Warning"], counts[host,
"Security Hole"];} }'
Output will be something like this:
Host Notes Warns Holes
10.1.0.1: 10 4 0
10.1.0.2: 7 1 1
10.1.0.3: 7 2 1
Pipe output into sort if you want the results ranked; eg,
"sort -gr --key=4 --key=3 --key=2".
George
--
theall@tenablesecurity.com
_______________________________________________
Nessus mailing list
Nessus@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Core dump on os_fingerprint.nasl, Beirne Konarski |
|---|---|
| Next by Date: | Re: can nessus client sort by number of holes instead of sorting by IP?, Adam Jacob Muller |
| Previous by Thread: | WebDav - Security Hole, a g |
| Next by Thread: | Re: can nessus client sort by number of holes instead of sorting by IP?, Adam Jacob Muller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |