Skip to content

Commit

Permalink
Update crack.py
Browse files Browse the repository at this point in the history
  • Loading branch information
221294583 authored Aug 27, 2020
1 parent 63b4331 commit 26e2884
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crack.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ def finder(num):

def matcher(num,exceptions):
for i in range(1000000):
if ((ini5_table[i]>>28)==(num>>28))&(((ini5_table[i]>>20)&0xf)==((num>>20)&0xf))&(((ini5_table[i]>>12)&0xf)==((num>>12)&0xf))&(((ini5_table[i]>>4)&0xf)==((num>>4)&0xf)):
a=[(ini5_table[i]>>28)&0xf,(ini5_table[i]>>20)&0xf,(ini5_table[i]>>12)&0xf,(ini5_table[i]>>4)&0xf]
b=[(num>>28)&0xf,(num>>20)&0xf,(num>>12)&0xf,(num>>4)&0xf]
if a==b:
#if ((ini5_table[i]>>28)==(num>>28))&(((ini5_table[i]>>20)&0xf)==((num>>20)&0xf))&(((ini5_table[i]>>12)&0xf)==((num>>12)&0xf))&(((ini5_table[i]>>4)&0xf)==((num>>4)&0xf)):
if ini5_table[i] not in exceptions:
return ini5_table[i],str(i)

Expand Down

0 comments on commit 26e2884

Please sign in to comment.