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:
@@ -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
|
||||
---
|
||||
|
||||
@@ -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>printer</code> - Network-attached printers and printer servers
|
||||
* <code>storage</code> - Storage devices
|
||||
* <code>virtualization</code> - Virtualization systems
|
||||
* <code>console</code> - Remote consoles
|
||||
|
||||
Please help improve this script by adding new entries to nselib/data/http-default-accounts.lua
|
||||
|
||||
Reference in New Issue
Block a user