Skip to content

Instantly share code, notes, and snippets.

View andrewdotcudzilo's full-sized avatar

Andrew Cudzilo andrewdotcudzilo

View GitHub Profile
python -c "import random,string,crypt,getpass,pwd; randomsalt = ''.join(random.sample(string.ascii_letters,8)); print crypt.crypt('MySecretPassword', '\$6\$%s\$' % randomsalt)"