rotate2. Great Snakes

Challenge Description:

Modern cryptography involves code, and code involves coding. CryptoHack provides a good opportunity to sharpen your skills. Of all modern programming languages, Python 3 stands out as ideal for quickly writing cryptographic scripts and attacks. For more information about why we think Python is so great for this, please see the FAQarrow-up-right. Run the attached Python script and it will output your flag. Challenge files: - great_snakes.pyarrow-up-right Resources: - Downloading Pythonarrow-up-right

My Solution:

We will download that great snakes file and inspect it:

#!/usr/bin/env python3

import sys
# import this

if sys.version_info.major == 2:
    print("You are running Python 2, which is no longer supported. Please update to Python 3.")

ords = [81, 64, 75, 66, 70, 93, 73, 72, 1, 92, 109, 2, 84, 109, 66, 75, 70, 90, 2, 92, 79]

print("Here is your flag:")
print("".join(chr(o ^ 0x32) for o in ords))

The only thing we should do here is to run this python script.

The Flag:

Last updated