Nmap Development mailing list archives

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


From: nnposter () users sourceforge net
Date: Fri, 13 Feb 2015 0:50:25 +0000

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/


Current thread: