py-smbpasswd
SMB Password Hash Generator
Now on GitHub
This module can generate both LANMAN and NT password hashes, suitable for use with Samba.
Sample usage
import smbpasswd
passwd = 'mypassword'
print 'LANMAN hash is', smbpasswd.lmhash(passwd)
print 'NT hash is', smbpasswd.nthash(passwd)
print 'both hashes at once = %s:%s (lm:nt)' % smbpasswd.hash(passwd)
Repositories
Releases
1.0.2
Repackaged slightly for PyPi, mainly changing the directory the TGZ file extracts into from "py-smbpasswd-x.x.x" to "smbpasswd-x.x.x".
None of the actual C or Python code in the library changed one bit. The setup.py just changed to reflect the version number bump and include some trove classifiers.
Files:- smbpasswd-1.0.2.tgz 13.2 KB (Sourcecode and distutils setup script)
1.0.1
Version 1.0.1 behaves identically to version 1.0, the only changes were the fixing of two minor compile warnings, and clarification in the included documentation that the software is GPL.
Files:- py-smbpasswd-1.0.1.tar.gz 12.8 KB (Sourcecode and distutils setup script)
1.0
Files:
- py-smbpasswd-1.0.tar.gz 6.4 KB (Sourcecode and distutils setup script)
- py-smbpasswd-1.0.win32-py2.2.exe 24.5 KB (Windows binary installer for Python 2.2)