← Back to list

HactivityCon2020 Writeups

Hexgedit

Ashish Agarwal · 2020-09-17 15:31 · 0 claps · 0.9 min read
#ctf-writeup #hacktivity #hexdump #ocr #xxd
Open on Medium ↗

HactivityCon2020 Writeups

Warmups

Hexgedit (points 30)

Woah! Someone opened the flag file in hexedit… and then gedit??

Download the image file below.

👉🏿 Clearly, it seems what it says in the problem description, doesn’t it?

Let’s find out.

Now, let’s find an easier way to have all the text in the image as a simple ascii/txt file. Wait a minute, Haven’t we heard of something called an OCR ? sure, we do. let’s fire up some online OCR service, upload the image and copy the text to a new file on our local machine. Also, check for any typo or error in the file.

Now we have a hexdump file with us. let’s reverse it to see the content of the file. shall we?

xxd -r -p hex_file.txt

fig(i) output

fig(i) output

Clearly, among the output of the file is our flag !


메타데이터
post_id
d7d27dbeff7d
slug
hactivitycon2020-writeups-d7d27dbeff7d
url
https://medium.com/@crlannister/hactivitycon2020-writeups-d7d27dbeff7d
canonical_url
https://medium.com/@crlannister/hactivitycon2020-writeups-d7d27dbeff7d
author_url
https://medium.com/@crlannister
status
ok
fetched_at
2026-08-09 10:31:50