Nmap Development mailing list archives

[NSE] Script for HTML generator meta tag


From: Michael Kohl <citizen428 () gmail com>
Date: Tue, 10 Jan 2012 14:03:05 +0100

Hi,

as an exercise for getting started with NSE, I wrote a little script
to extract the contents of the generator meta tag if there is one:

PORT    STATE SERVICE
21/tcp  open  ftp
22/tcp  open  ssh
25/tcp  open  smtp
80/tcp  open  http
|_generator: TYPO3 4.2 CMS
111/tcp open  rpcbind
199/tcp open  smux
443/tcp open  https
|_generator: TYPO3 4.2 CMS

The script can be found here, maybe it's useful enough for others to
include in the distribution:

https://gist.github.com/903f268b5ebfe932f4dc

BTW: sorry if this is the wrong place for submitting it, I didn't
really find another place that seemed sensible.

Michael
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: