Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: Added Apache Tomcat's default HTTP ports to shortport.lua
From: David Fifield <david () bamsoftware com>
Date: Thu, 9 Jun 2011 19:11:57 -0700

On Thu, Jun 09, 2011 at 08:12:14PM -0700, Paulino Calderon wrote:
On 06/09/2011 07:53 AM, Martin Holst Swende wrote:

----- Ursprungsmeddelande -----
On Thu, Jun 09, 2011 at 04:31:37AM -0700, Paulino Calderon wrote:
Hi,

Here is a small patch for shortport.lua to include Apache
Tomcat's web server default ports since the default SSL ports were
already in there.

-http = shortport.port_or_service({80, 443, 631, 8080, 5800, 3872},
+http = shortport.port_or_service({80, 443, 631, 8080, 5800, 3872,
8180, 8000},    {"http", "https", "ipp", "http-alt", "vnc-http",
"oem-agent"})

Go ahead and add it, and please also start a comment block with an
explanation of why ports 8180 and 8000 are there. Currently the port
numbers match up one-to-one with the service names, but we should
document it in a comment.

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

I seem to recall that 8443 is the default https-alt port, perhaps  
belongs in there as well?
/Martin Holst Swende


Commited as r23856. And yes, the default ssl port for Apache Tomcat is  
8443 but it's in the file already.

http = shortport.port_or_service({80, 443, 631, 8080, 5800, 3872, 8180,  
8000},
    {"http", "https", "ipp", "http-alt", "vnc-http", "oem-agent"})

local LIKELY_SSL_PORTS = {
    443, 465, 587, 636, 989, 990, 992, 993, 994, 995, 5061, 6679, 6697,  
8443,
    9001,
}

That's a separate list. It should be in shortport.http too.

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


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]