1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-01 12:29:03 +00:00

Add some NSEdoc for smbauth.get_host_info_from_security_blob

This commit is contained in:
dmiller
2014-02-05 18:30:57 +00:00
parent 7dd47ec3a3
commit e5fc094635

View File

@@ -727,6 +727,21 @@ function get_security_blob(security_blob, ip, username, domain, password, passwo
end
---
-- @class table
-- @name host_info
-- @field target_realm
-- @field netbios_computer_name
-- @field netbios_domain_name
-- @field fqdn
-- @field dns_domain_name
-- @field dns_forest_name
-- @field timestamp
---
-- Gets host info from a security blob
-- @param security_blob The NTLM security blob
-- @return A host_info table containing the data in the blob. @see host_info
function get_host_info_from_security_blob(security_blob)
local ntlm_challenge = {}
--local pos, identifier, message_type, domain_length, domain_max, domain_offset, server_flags, challenge, reserved, target_info_length, target_info_max, target_info_offset = bin.unpack("<A8ISSIILLSSI", security_blob)