Skip to content

Instantly share code, notes, and snippets.

@joenorton8014
Last active July 24, 2018 03:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joenorton8014/b66e7628ad9f9e07a84d83168890da5b to your computer and use it in GitHub Desktop.
Save joenorton8014/b66e7628ad9f9e07a84d83168890da5b to your computer and use it in GitHub Desktop.
import hashlib,binascii
print binascii.hexlify(hashlib.new("md4", "Strong,hardtocrackpassword1".encode("utf-16le")).digest())
# python -c 'import hashlib,binascii; print binascii.hexlify(hashlib.new("md4", "Strong,hardtocrackpassword1".encode("utf-16le")).digest())'
# From - https://labs.mwrinfosecurity.com/blog/pth-attacks-against-ntlm-authenticated-web-applications/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment