mirror of
https://github.com/nmap/nmap.git
synced 2026-10-24 12:53:49 +00:00
Simplifies a match pattern
This commit is contained in:
parent
b2ed1d58b5
commit
2a07563f1d
1 changed files with 1 additions and 1 deletions
|
|
@ -568,7 +568,7 @@ table.insert(fingerprints, {
|
|||
target_check = function (host, port, path, response)
|
||||
local realm = http_auth_realm(response) or ""
|
||||
-- Exact PCRE: "^level 15?( or view)? access$"
|
||||
return realm:gsub("_"," "):find("^level 15? .*%f[^%s]access$")
|
||||
return realm:gsub("_"," "):find("^level 15?%f[ ].* access$")
|
||||
end,
|
||||
login_combos = {
|
||||
{username = "", password = ""},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue