mirror of
https://github.com/nmap/nmap.git
synced 2026-06-25 10:38:02 +00:00
Tightens target_check in the fingerprint for BeEF
This commit is contained in:
parent
d48bd6bc5d
commit
47d84ec60f
1 changed files with 2 additions and 1 deletions
|
|
@ -223,7 +223,8 @@ table.insert(fingerprints, {
|
|||
{path = "/ui/authentication/"}
|
||||
},
|
||||
target_check = function (host, port, path, response)
|
||||
return response.body
|
||||
return response.status == 200
|
||||
and response.body
|
||||
and response.body:find("BeEF", 1, true)
|
||||
and response.body:lower():find("<title>beef authentication</title>", 1, true)
|
||||
end,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue