1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-20 22:49:01 +00:00

Adds a fingerprint for VMware ESXi hypervisor

This commit is contained in:
nnposter
2016-08-30 21:12:59 +00:00
parent 46f0e79a6c
commit fc69ad90b2
2 changed files with 28 additions and 0 deletions

View File

@@ -749,6 +749,33 @@ table.insert(fingerprints, {
end end
}) })
---
--Virtualization systems
---
table.insert(fingerprints, {
-- Version 5.0.0
name = "VMware ESXi",
category = "virtualization",
paths = {
{path = "/"}
},
target_check = function (host, port, path, response)
return response.status == 200
and response.body
and response.body:find("ID_EESX_Welcome", 1, true)
and response.body:find("/folder?dcPath=ha-datacenter", 1, true)
end,
login_combos = {
{username = "root", password = ""}
},
login_check = function (host, port, path, user, pass)
-- realm="VMware HTTP server"
return try_http_basic_login(host, port,
url.absolute(path, "folder?dcPath=ha-datacenter"),
user, pass, false)
end
})
--- ---
--Remote consoles --Remote consoles
--- ---

View File

@@ -20,6 +20,7 @@ You may select a category if you wish to reduce the number of requests. We have
* <code>industrial</code> - Industrial systems * <code>industrial</code> - Industrial systems
* <code>printer</code> - Network-attached printers and printer servers * <code>printer</code> - Network-attached printers and printer servers
* <code>storage</code> - Storage devices * <code>storage</code> - Storage devices
* <code>virtualization</code> - Virtualization systems
* <code>console</code> - Remote consoles * <code>console</code> - Remote consoles
Please help improve this script by adding new entries to nselib/data/http-default-accounts.lua Please help improve this script by adding new entries to nselib/data/http-default-accounts.lua