diff --git a/nselib/data/http-default-accounts-fingerprints.lua b/nselib/data/http-default-accounts-fingerprints.lua index 43311a157..42e399351 100644 --- a/nselib/data/http-default-accounts-fingerprints.lua +++ b/nselib/data/http-default-accounts-fingerprints.lua @@ -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("beef authentication", 1, true) end,