Skip to content

Commit

Permalink
Speed improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
t3l3machus authored Aug 10, 2024
1 parent 2d586de commit 9263354
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions psudohash.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def banner():


if (args.common_paddings_before or args.common_paddings_after):
common_paddings = unique(common_paddings)
common_paddings = list(set(common_paddings))


# ----------------( Functions )---------------- #
Expand Down Expand Up @@ -274,7 +274,7 @@ def mutations_handler(kword, trans_chars, total):
for m in m_set:
basic_mutations.append(m)

basic_mutations = unique(basic_mutations)
basic_mutations = list(set(basic_mutations))

with open(outfile, 'a') as wordlist:
for m in basic_mutations:
Expand All @@ -298,7 +298,7 @@ def caseMutationsHandler(word, mutability):

if not mutability:

basic_mutations = unique(basic_mutations)
basic_mutations = list(set(basic_mutations))

with open(outfile, 'a') as wordlist:
for m in basic_mutations:
Expand Down

0 comments on commit 9263354

Please sign in to comment.