mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Fix some bad patterns with excessive backtracking
This commit is contained in:
parent
da594ae5b8
commit
d1fb502144
5 changed files with 10 additions and 7 deletions
|
|
@ -70,7 +70,7 @@ action = function(host, port)
|
|||
end
|
||||
socket:close()
|
||||
|
||||
if string.match(response, 'HTTP/1.1 200%s+.+HTTPAPI/2.0') then
|
||||
if string.match(response, 'HTTP/1.1 200%s.+HTTPAPI/2.0') then
|
||||
return true, 'IP-HTTPS is supported. This indicates that this host supports Microsoft DirectAccess.'
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue