c4ptur3-th3-fl4g

Date: 07, June, 2021

Author: Dhilip Sanjay S


Click Herearrow-up-right to go to the TryHackMe room.

Translation & Shifting

c4n y0u c4p7u23 7h3 f149?

  • Answer: can you capture the flag?

Binary to character

  • Answer: lets try some binary out!

>>> binary = '01101100 01100101 01110100 01110011 00100000 01110100 01110010 01111001 00100000 01110011 01101111 01101101 01100101 00100000 01100010 01101001 01101110 01100001 01110010 01111001 00100000 01101111 01110101 01110100 00100001'.split()
>>> [chr(int(x, 2)) for x in binary]
['l', 'e', 't', 's', ' ', 't', 'r', 'y', ' ', 's', 'o', 'm', 'e', ' ', 'b', 'i', 'n', 'a', 'r', 'y', ' ', 'o', 'u', 't', '!']
>>> ans = ''
>>> ans.join([chr(int(x, 2)) for x in binary])
'lets try some binary out!'

Base32

  • Answer: base32 is super common in CTF's

  • Steps to Reproduce:

Base64

  • Answer: Each Base64 digit represents exactly 6 bits of data.

  • Steps to Reproduce:

Hexadecimal

  • Answer: hexadecimal or base16?

  • Steps to Reproduce:

ROT 13

  • Answer: Rotate me 13 places!

  • Steps to Reproduce: Use ROT - 13 decoder

ROT 47

  • Answer: You spin me right round baby right round (47 times)

Morse Code

  • Answer: TELECOMMUNICATION ENCODING

Binary Coded Decimal

  • Answer: Unpack this BCDss

  • Steps to Reproduce:

Multiple encoding & translations

  • Answer: Let's make this a bit trickier...

  • Steps to Reproduce:

    • From Base64

    • From Morse Code

    • From binary to ASCII

    • ROT47

    • From Decimal to ASCII


Spectograms

  • Use sonic visualizer to find the data:

Spectogram

Steganography

Decode the image to reveal the answer.

  • Answer: SpaghettiSteg

  • Steps to Reproduce:


Security through obscurity

Download and get 'inside' the file. What is the first filename & extension?

  • Answer: hackerchat.png

  • Steps to Reproduce:

    • Use stegoveritas

Get inside the archive and inspect the file carefully. Find the hidden text.

  • Answer: AHH_YOU_FOUND_ME!

  • Steps to Reproduce:

    • Use zsteg:


Last updated