Krypton Level 2 β Level 3

cd /krypton/krypton2
ls -la
file *

The README file is just the description of the challenge.
And the encrypt binary is just encrypting any data in a file.
Also we do not have the permissions to read the keyfile.dat because it is owned by krytpon3.

This is the encoded string, we can brute force all possible rotations until we get recognized string:
Encoded_String = "OMQEMDUEQMEK"
for rotate in range(26):
Decoded_String = ""
for char in Encoded_String:
if char.isupper():
Decoded_String += chr((ord(char) - ord('A') + rotate) % 26 + ord('A'))
else:
Decoded_String += char
print(Decoded_String)
vim script.py
cat script.py
python3 script.py

That is the password for the next user.
Last updated