Note: The Listed platform will permanently shut down December 31, 2026. Your data published on Listed will still be available in your personal Standard Notes account. Learn more

BabyEncryption - HTB - Challenges

import string
#from secret import MSG
#ct = encryption(MSG)
f = open('./msg.enc','r')
text = bytes.fromhex(f.readline())
result = ""
alphabet = string.printable
for char in text:
    for letter in alphabet:
        if((123 * ord(letter) + 18 ) % 256 == char):
            result += letter
print(result)

You'll only receive email when they publish something new.

More from emacab98
All posts