mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Loosened the non-HTTP regexp so that Skype is properly identified more
often. Also added a product string so that the version column isn't blank.
This commit is contained in:
parent
8aabab33ab
commit
1018992e15
1 changed files with 2 additions and 1 deletions
|
|
@ -56,9 +56,10 @@ action = function(host, port)
|
|||
return
|
||||
end
|
||||
|
||||
if string.match(result, "[^%s!-~].*[^%s!-~].*[^%s!-~].*[^%s!-~]") then
|
||||
if string.match(result, "[^%s!-~].*[^%s!-~].*[^%s!-~]") then
|
||||
socket:close()
|
||||
port.version.name = "skype2"
|
||||
port.version.product = "Skype"
|
||||
port.version.confidence = 10
|
||||
port.version.fingerprint = nil
|
||||
nmap.set_port_version(host, port, "hardmatched")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue