Scrambled Pathways

Challenge Description

In this challenge, characters follow a hidden pattern as they traverse columns. Figure out how to untangle the message and reveal the flag!

Author : PattuSai

chall1 out1.txt


Solution

# Got from the out1.txt file
encrypted_flag = "HT859092947c87F4cff7727181C{872a2ba640}"

len_encrypted_flag = len(encrypted_flag)

decrypted_flag = [0] * len_encrypted_flag

positions = []

for i in range(0, 3):
    for j in range(i, len_encrypted_flag, 3):
        positions.append(j)

for i, j in enumerate(positions):
    decrypted_flag[j] = encrypted_flag[i]

print("".join(decrypted_flag))

Last updated