Nmap Development mailing list archives

Re: [NSE patch] HTTPS support for showHTMLTitle


From: Matthew Boyle <mb2263 () bristol ac uk>
Date: Thu, 28 Jun 2007 14:18:04 +0100

Sven Klemm wrote:
attached is a patch that adds https support to showHTMLTitle. It uses
the port number to decide whether ssl is required or not. There is
probably a better way to detect whether ssl is needed, but in the soc
branch http and https both show up as service "http".

with a "standard" scan, it /should/ identify 443/tcp as "https", and set 
port.service appropriately.

if you also request a version-scan, you get "ssl/http" as the service 
name instead.  adding a test for this in the portrule (and modifying 
your patch accordingly), would also allow the script to run when the the 
service is on a non-standard port.

--matt

-- 
everybody stand back!  i know regular expressions.  [taptaptap]


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


Current thread: