Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update passgen.py
  • Loading branch information
Castorp authored Mar 16, 2019
commit 02867c4233853385572edd32488d680a568215e6
6 changes: 4 additions & 2 deletions passgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,16 +109,18 @@ def combine_words(self):
self.passwords.add(word)

# passwords with integers 0-2100 around it
word_number_combinations = []
for i in range(2100):
word_number_combinations = [
word_number_combinations += [
'{}{}'.format(word, i),
'{}{}'.format(i, word),
'{0}{1}{0}'.format(i, word)
]

# passwords with custom integers around it
word_custom_number_combinations = []
for i in self.keywords_integer:
word_custom_number_combinations = [
word_custom_number_combinations += [
'{}{}'.format(word, i),
'{}{}'.format(i, word),
'{0}{1}{0}'.format(i, word)
Expand Down