mirror of
https://github.com/nmap/nmap.git
synced 2026-09-21 15:46:45 +00:00
Fix NSEDoc.
This commit is contained in:
parent
4d034b36d2
commit
5fa554266b
26 changed files with 41 additions and 50 deletions
|
|
@ -581,9 +581,9 @@ end
|
|||
|
||||
--- Creates a cryptographic hash to be used for login
|
||||
--
|
||||
-- @param string username
|
||||
-- @param string password
|
||||
-- @param string salt
|
||||
-- @param username username
|
||||
-- @param password password
|
||||
-- @param salt salt
|
||||
-- @return string suitable for login request
|
||||
function createMD5LoginHash(username, password, salt)
|
||||
local md5_1 = select( 2, bin.unpack( "H16", openssl.md5(password..username) ) ):lower()
|
||||
|
|
@ -620,4 +620,4 @@ function detectVersion(host, port)
|
|||
end
|
||||
|
||||
return v3
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue