1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-19 14:09:02 +00:00

Removes a limitation of script http-default-accounts that prevented testing of systems returning status 200 for non-existent pages. Closes #577

This commit is contained in:
nnposter
2016-10-30 19:20:28 +00:00
parent de2ed2eec6
commit ede50cec50
3 changed files with 14 additions and 15 deletions

View File

@@ -18,9 +18,6 @@ local have_openssl, openssl = pcall(require, 'openssl')
-- * <code>paths</code> - Paths table containing the possible location of the target
-- * <code>target_check</code> - Validation function of the target (optional)
-- * <code>login_check</code> - Login function of the target
--
-- TODO: Update the functionality of <code>target_check</code> to differentiate
-- between valid HTTP/200 and a custom error page.
---
-- Recursively copy a table.
@@ -319,9 +316,6 @@ table.insert(fingerprints, {
paths = {
{path = "/logo_t.gif"}
},
target_check = function (host, port, path, response)
return response.status == 200
end,
login_combos = {
{username = "", password = ""}
},