mirror of
https://github.com/bvanroll/odiseectf.git
synced 2025-08-29 11:52:43 +00:00
fam
This commit is contained in:
18
olivierdeschacht/euhm.py
Normal file
18
olivierdeschacht/euhm.py
Normal file
@@ -0,0 +1,18 @@
|
||||
import test
|
||||
|
||||
|
||||
allofem = test.makeWords()
|
||||
with open("output.txt", "a") as outfile:
|
||||
for i in range(20):
|
||||
for combo in test.combinations(allofem, i):
|
||||
c = "".join(combo)
|
||||
if len(c) > 20 or len(c) < 8:
|
||||
continue
|
||||
else:
|
||||
#outfile.write(decrypt(text,c))
|
||||
temp = test.bo64.b64enconde(str.encode(hashlib.sha512(c).hexdigest()))
|
||||
if len(temp) == len(text):
|
||||
if temp == text:
|
||||
outfile.write("we may have got it: {} transformed turned into: {}".format(c, temp))
|
||||
else:
|
||||
outfile.write("i mean maybe... {} transformed turned into: {}".format(c, temp))
|
Reference in New Issue
Block a user