shg (SMB hash generator) is a program written in python that generates NT and LM hashes and outputs them in the same format as pwdump. shg depends on the py-smbpasswd module.
The files shg generates can be used to test utilities such as john the ripper, ophcrack, or rainbow crack. Additionally, shg can be used to create a set of hashes in pwdump format from a file of cleartext passwords. shg was originally written to test rcrack with rainbow tables generated by the The Shmoo Group.
You can acquire shg here.
Find a bug? Let Holt