Penetration Testing mailing list archives
RE: Nmap results in spreadsheet format
From: <Kim.Sassaman () cox com>
Date: Wed, 16 Jun 2004 22:00:46 -0700
Were making progress on an reporting tool that uses nmap...
www.securimind.com/nmap/index.html
Its in alpha stage so you get to see what it does... its not functional yet so dont get upset if your scans dont get
displayed.
Thanks,
Kim Sassaman
CISSP-CCNP
SecuriMind
-----Original Message-----
From: Eric Paynter [mailto:eric () arcticbears com]
Sent: Tue 6/15/2004 12:14 PM
To: pen-test () securityfocus com
Cc:
Subject: Re: Nmap results in spreadsheet format
On Mon, June 14, 2004 11:22 am, Bill Z. said:
> This is a simple task - here's my quick and dirty way of converting the
> plain-text nmap output (e.g., nmap-out) into an Excel file with html tags:
>
> echo "<table>" ; grep "^[0-9*]" nmap-out | awk '{print "<tr><td>" $1 \
> "<td>" $2 "<td>" $3}'; echo "</table>" > nmap-out.xls
Although the </td> and </tr> tags are optional in the HTML spec, I've seen
some browsers do funny things without them. I prefer to include them just
to be safe. Also, with my shell, the redirect to nmap-out.xls only applied
to the last command. The following fixes both potential problems, making
the example more portable:
echo "<table>" > nmap-out.xls
grep "^[0-9*]" nmap-out | awk '{print "<tr><td>" $1 \
"</td><td>" $2 "</td><td>" $3 "</td></tr>"}' >> nmap-out.xls
echo "</table>" >> nmap-out.xls
-Eric
--
arctic bears - affordable email and name services @yourdomain.com
http://www.arcticbears.com
Current thread:
- RE: Nmap results in spreadsheet format Roman, David (Jun 16)
- <Possible follow-ups>
- RE: Nmap results in spreadsheet format Kim.Sassaman (Jun 16)
- RE: Nmap results in spreadsheet format Jonathan Pokrzyk (Jun 16)
- Re: Nmap results in spreadsheet format Vladimir Parkhaev (Jun 17)
- Biting my Tongue Re: Nmap results in spreadsheet format Donald Voss (Jun 18)
- RE: Nmap results in spreadsheet format Kim.Sassaman (Jun 17)
- RE: Nmap results in spreadsheet format Kim.Sassaman (Jun 17)
