git.99rst.org
/
redacted-XKCD-password-generator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
d254ea1
)
Add cracklib-small as a default wordlist
author
Lowe Thiderman
<redacted>
Tue, 27 May 2014 22:36:32 +0000
(
00:36
+0200)
committer
Lowe 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
patch
|
blob
|
history
diff --git
a/xkcdpass/xkcd_password.py
b/xkcdpass/xkcd_password.py
index 76aeeb0bce5411bd3f7098d9202b11a040874236..56467d1bf0a4c76ce2fbda9cc8a46ee087b7d817 100755
(executable)
--- a/
xkcdpass/xkcd_password.py
+++ b/
xkcdpass/xkcd_password.py
@@
-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