HTB Writeups
  • HTB Writeups
  • Boxes: Very Easy
    • Academy
    • Archetype
    • Arctic
    • Base
    • Bike
    • Blue
    • Explosion
    • Included
    • Markup
    • Oopsie
    • Redeemer
    • Responder
    • Shield
    • Unified
    • Vaccine
  • Boxes: Easy
    • Analytics
    • Armageddon
    • Bashed
    • Beep
    • Blocky
    • Bounty Hunter
    • Buff
    • Cap
    • CozyHosting
    • Devel
    • Explore
    • Forest
    • Grandpa
    • Granny
    • Horizontall
    • Jerry
    • Keeper
    • Knife
    • Lame
    • Late
    • Legacy
    • Mirai
    • Netmon
    • Nibbles
    • Optimum
    • Paper
    • Photobomb
    • Precious
    • RedPanda
    • Return
    • Sau
    • ScriptKiddie
    • Sense
    • Servmon
    • Shocker
    • Shoppy
    • Squashed
    • Trick
  • Boxes: Medium
    • Poison
  • Challenges
    • Behind the Scenes
    • Canvas
    • Debugging Interface
    • Digital Cube
    • Easy Phish
    • Find the Easy Pass
    • Forest
    • Infiltration
    • misDIRection
    • Pusheen Loves Graphs
    • Retro
    • Signals
    • The Secret of a Queen
    • Wrong Spooky Season
  • Fortresses
  • Cyber Apocalypse 2023: The Cursed Mission
    • The Cursed Mission
    • Alien Cradle
    • Critical Flight
    • Debug
    • Extraterrestrial Persistence
    • Getting Started
    • Needle in the Haystack
    • Orbital
    • Packet Cyclone
    • Passman
    • Perfect Sync
    • Persistence
    • Plaintext Tleasure
    • Questionnaire
    • Reconfiguration
    • Relic Maps
    • Roten
    • Secret Code
    • Shattered Tablet
    • Small StEps
  • Hack the Boo 2023
    • Hauntmart
    • Spellbrewery
    • Trick or Treat
    • Valhalloween
  • Cyber Apocalypse 2024: Hacker Royale
    • Hacker Royale
    • An Unusual Sighting
    • BoxCutter
    • BunnyPass
    • Character
    • Data Siege
    • Delulu
    • Dynastic
    • Fake Boost
    • Flag Command
    • Game Invitation
    • It has begun
    • KORP Terminal
    • Labyrinth Linguist
    • LockTalk
    • Lucky Faucet
    • Makeshift
    • Maze
    • Packed Away
    • Phreaky
    • Primary Knowledge
    • Pursue the Tracks
    • Rids
    • Russian Roulette
    • Stop Drop and Roll
    • Testimonial
    • TimeKORP
    • Unbreakable
    • Urgent
  • CYBER APOCALYPSE 2025: Tales from Eldoria
    • Tales from Eldoria
    • A New Hire
    • Cave Expedition
    • Echoes in Stone
    • Eldorion
    • Embassy
    • EncryptedScroll
    • HeliosDEX
    • Quack Quack
    • Silent Trap
    • Stealth Invasion
    • Tales for the Brave
    • The Ancient Citadel
    • The Hillside Haven
    • The Stone That Whispers
    • Thorins Amulet
    • ToolPie
    • Traces
    • Trial by Fire
    • Whispers of the Moonbeam
Powered by GitBook
On this page
  1. Cyber Apocalypse 2023: The Cursed Mission

Secret Code

Personal Rating: Medium

PreviousRotenNextShattered Tablet

Last updated 1 year ago

We have an interesting image (on the right) and I found a helpful legend (on the left), a parser and sal files, which are meant to be opened with Saleae Logic 2.

You had to connect the right channels to the right segments of the digital display and find the signals on these channels using the Logic2 program. Then you could decode what the display would show, one segment and one iteration at the time. I did this half, manually, which was really tedious. I wrote down the values from the Logic2 Program manually and then wrote this Python parser:

secondsvalues=["01011101","11111111","10111111","11111001","01011101","01011101","11110110","01101100","00101100","11011011","01101100","11101111","11111100","11101111","10101111","01101100","01101100","11111100","11111100","11111100","10111100","11110110","11111001","01110011","11111011","11111100","10111100","11111100","11101111","11111011","11011110","11111100","10111100","11111100","11111100","11111001","11111001","01110011","00110011","11111011","11111011","11111100","11110110","11111100","10111100","11101111","11111011","11011110","11111001","01110011","00110011","01101100","01101100","11111100","01001100","11111100","10111100","01101100","11111011","11111111","11111100","01001100","00001100","11111011","11110011","01011101","11101111","11110110","10110110","01001100","11110110","11111100","01101100","11011110","10011110"]
hexvalues = []

for i in secondsvalues:
    if (i == "01001100"):
        hexvalues.append("1")
    if (i == "11110110"):
        hexvalues.append("2")
    if (i == "11111100"):
        hexvalues.append("3")
    if (i == "01011101"):
        hexvalues.append("4")
    if (i == "11111001"):
        hexvalues.append("5")
    if (i == "11111011"):
        hexvalues.append("6")
    if (i == "01101100"):
        hexvalues.append("7")
    if (i == "11111111"):
        hexvalues.append("8")
    if (i == "11111101"):
        hexvalues.append("9")
    if (i == "11101111"):
        hexvalues.append("0")
    if (i == "01111111"):
        hexvalues.append("a")
    if (i == "11011011"):
        hexvalues.append("b")
    if (i == "11100011"):
        hexvalues.append("c")
    if (i == "11011110"):
        hexvalues.append("d")
    if (i == "11110011"):
        hexvalues.append("e")
    if (i == "01110011"):
        hexvalues.append("f")

hexresult = ""

for i in hexvalues:
    hexresult += i

result = bytearray.fromhex(hexresult).decode()
print(result)