1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-18 20:29:02 +00:00
Files
nmap/nselib/http.lua
dmiller b2deb019ed Don't use shortport.ssl to determine Host header.
The only reason this was used was to determine if port 443 was HTTPS.
Simply dropping the port if it's 80 or 443 yields the same outcome.
Maybe we want to be more clear, but then we'd need to have the caller
pass in the URI scheme, too. This is faster and avoids the new SSL
probes in shortport.ssl.
2018-08-11 21:23:58 +00:00

106 KiB