Add cracklib-small as a default wordlist
authorLowe Thiderman <redacted>
Tue, 27 May 2014 22:36:32 +0000 (00:36 +0200)
committerLowe Thiderman <redacted>
Tue, 27 May 2014 22:36:32 +0000 (00:36 +0200)
cracklib should be available on most (all, even?) Linux machines and provides
a more than solid foundation as a basis.

xkcdpass/xkcd_password.py

index 76aeeb0bce5411bd3f7098d9202b11a040874236..56467d1bf0a4c76ce2fbda9cc8a46ee087b7d817 100755 (executable)
@@ -87,7 +87,8 @@ def validate_options(parser, options, args):
             sys.exit(1)
     else:
         common_word_files = ["/usr/share/dict/words",
-                             "/usr/dict/words"]
+                             "/usr/dict/words",
+                             "/usr/share/cracklib/cracklib-small"]
 
         for wfile in common_word_files:
             if os.path.exists(wfile):
git clone https://git.99rst.org/PROJECT