Page cover image

Transmission

MISC EASY - 278 points

Description

The United States space force was one day containing routine tests on intergalactic light when they captured a random beam of light. Senior General Hexy Pictora believes this beam of light may actually be a new communication method used by aliens. Analyze the image to find out of any secrets are present.

https://storage.ebucket.dev/beamoflight.png

The image given was a row of pixels with different RGB values so the my first idea was to extract each color and try to convert it to a readable format.

The only format I could think of was hex naturally and so I made this script:

from PIL import Image

# open image
im = Image.open("beamoflight.png")

# get ascii values from pixels
pixels = list(im.getdata())

# convert to hex 
hexList = []
for pixel in pixels:
    hex = ""
    for i in pixel:
        hex += i.to_bytes(1, byteorder='big').hex()
    hexList.append(hex)

with open("hex.txt", "w") as f:
    for hex in hexList:
        f.write(hex + " ")

Now that I had the hex values of the image, I could convert it to ascii I used https://www.rapidtables.com/ to convert it to ascii.

The text I got had the flag in it.

Last updated

Was this helpful?