1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-24 00:19: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
})
---
--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
---