1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-27 01:49:03 +00:00
Files
nmap/nselib/smbauth.lua
dmiller 3187efdf81 Add extended-ASCII support to LM hashing
Probably only works for US-English, since it uses Code Page 437. Adding
support for other locales would require detecting or setting the locale
for the remote system, since SMB has no way to negotiate code page. In
other words, Windows systems with different locales will have different
LM hashes for the same password.

Also added some tests. Hashes confirmed by googling for them and finding
the correct plaintext.
2014-03-06 17:14:59 +00:00

36 KiB