Documentation
¶
Overview ¶
Package ntlmv2hash computes weak, unsalted, hashes of passwords in the the Microsoft Windows NT LAN Manager (NTLM) protocol v2 format.
It's primary purpose is to convert passwords for use with Samba and its `pdbedit --set-nt-hash` tool. Using NTLMv2 hashes for anything else is not advised.
See `cmd` for the command-line tool.
Resources ¶
- http://davenport.sourceforge.net/ntlm.html
- https://github.com/Azure/go-ntlmssp (doesn't expose this functionality)
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NTPasswordHash ¶
NTPasswordHash computes the NTLM v2 password hash.
The output is password-equivalent and easy to reverse. It must be guarded just as well as the original password.
Example ¶
package main import ( "eagain.net/go/ntlmv2hash" "fmt" ) func main() { hash := ntlmv2hash.NTPasswordHash("SecREt01") fmt.Println(hash) }
Output: CD06CA7C7E10C99B1D33B7485A2ED808
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
cmd
|
|
ntlmv2-hash
Command ntlmv2-hash computes Microsoft Window NT LAN Manager (NTLM) protocol v2 hashes of passwords.
|
Command ntlmv2-hash computes Microsoft Window NT LAN Manager (NTLM) protocol v2 hashes of passwords. |
Click to show internal directories.
Click to hide internal directories.