THCON-2k24

base64-custom THCON 2024

Note:- My solution is little bit lengthy because i was away from my laptop and did this challenge on paper using pencil i.e. manually.

Challenge

Challenge

Understanding the challenge

How base64 works

  1. It takes every single letter of the word.
  2. Then it converts it into decimal.
  3. Then the decimal is converted into binary having length 8 bits.
  4. Then the binary is regrouped with every binary having length of 6 bits.
  5. Then the binary is converted into decimal.
  6. Then the decimal is converted into another character according to base64 index table.

base64-index-table

What is different in this base64custom

Contents of message.txt

KREEGTaOPNRDIcbFGYaFeMLTLcaHOMbTGBWWKXbJNZXGSdDd

Reversing the process to obtain flag

process

Solution

step-1 step-2 step-3 step-4