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:
8b54941
)
Deduplicate wordlist for added security
author
Scott Tankard
<redacted>
Tue, 29 Mar 2016 05:16:25 +0000
(22:16 -0700)
committer
Scott Tankard
<redacted>
Tue, 29 Mar 2016 05:16:25 +0000
(22:16 -0700)
Particular benefit when working with 3rd party/untrusted/downloaded
wordlists.
xkcdpass/xkcd_password.py
patch
|
blob
|
history
diff --git
a/xkcdpass/xkcd_password.py
b/xkcdpass/xkcd_password.py
index 13a911587065457bff61527ca45f336ee8cd70f5..8342b699f9049df5bae2544111f9d38709f89400 100755
(executable)
--- a/
xkcdpass/xkcd_password.py
+++ b/
xkcdpass/xkcd_password.py
@@
-115,7
+115,7
@@
def generate_wordlist(wordfile=None,
wlf.close()
- return
words
+ return
list(set(words)) # deduplicate, just in case
def wordlist_to_worddict(wordlist):
git clone https://git.99rst.org/PROJECT