Nmap Development mailing list archives

Re: [NSE] Adding https-alt to shortport.http()


From: Daniel Miller <bonsaiviking () gmail com>
Date: Wed, 18 Feb 2015 13:59:19 -0600

nnposter,

Thanks again! A simple way to expand NSE coverage where it is needed; I
applied this in r34032. You may also be interested in r34030, which
improves how -sV handles the port. Previously, it was not marked as a
recommended port for the SSL probe, and while it was listed as recommended
for the GetRequest probe, it was not in the sslports directive which meant
that the probe was tried *before* detecting and establishing the SSL
tunnel. I have a couple more ideas on improvements in these port lists, but
I'd welcome any ideas you have as well.

Dan

On Thu, Feb 12, 2015 at 6:50 PM, <nnposter () users sourceforge net> wrote:

I am proposing to add service "https-alt" to shortport.http().
This change will also make shortport.http() more consistent with
shortport.ssl(), which already recognizes service "https-alt" and
port 8443.


Cheers,
nnposter



--- a/nselib/shortport.lua       2014-12-29 11:50:09.000000000 -0700
+++ b/nselib/shortport.lua       2015-02-09 18:35:37.261037500 -0700
@@ -162,12 +162,12 @@
 Litespeed webserver default ports: 8088 and 7080
 --]]
 LIKELY_HTTP_PORTS = {
-  80, 443, 631, 7080, 8080, 8088, 5800, 3872, 8180, 8000
+  80, 443, 631, 7080, 8080, 8443, 8088, 5800, 3872, 8180, 8000
 }

 LIKELY_HTTP_SERVICES = {
-  "http", "https", "ipp", "http-alt", "vnc-http", "oem-agent", "soap",
-  "http-proxy",
+  "http", "https", "ipp", "http-alt", "https-alt", "vnc-http",
"oem-agent",
+  "soap", "http-proxy",
 }

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

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

Current thread: