Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Nmap Development: Re: [NSE patch] HTTPS support for showHTMLTitle

Re: [NSE patch] HTTPS support for showHTMLTitle

From: Sven Klemm <sven_at_c3d2.de>
Date: Fri, 29 Jun 2007 03:59:57 +0200

Matthew Boyle wrote:
> 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.

hmm but it didn't in my case I got http otherwise it wouldn't even
execute the action as the portrule only triggers on "http". I did
specify a service scan too.

When I specify a service scan the service is always http in the lua
script no matter whether it's http or https without service scan the
service is http or https. But the service_tunnel field gets set for a
 version scan. The attached patch takes this into account and works
for http and https with and without service scan.

Cheers,
Sven

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

Received on Jun 28 2007
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos