Ancient Encodings writeup

Ancient Encodings writeup

Challenge name: Ancient Encodings

Difficulty: Very Easy

Challenge Scenario: Your initialization sequence requires loading various programs to gain the necessary knowledge and skills for your journey. Your first task is to learn the ancient encodings used by the aliens in their communication.

Link: https://app.hackthebox.com/challenges/Ancient%2520Encodings?tab=play_challenge

Machine IP: NA

Downloaded the files and unzipped them. It gives us two files.

Read both files.

Researched how to unhex and decode in python and wrote a script to do so then got the flag.

import binascii
import base64
hex_string = "inserthexhere”
unhexed_string = binascii.unhexlify(hex_string)
decoded_string = base64.b64decode(unhexed_string).decode('utf-8')
print(decoded_string)

GG

Leave a comment