Contents

CTF After Dark - File - No Flags??


Contents

No Flags??

task

This individual known as megamind has gotten quite the ego, he’s even taunting the very cool people in Cyber! Show them that we do, in fact, have the inappropriate word that the popular meme mentions!

Author: james

Tags: file

writeup

Let’s download the pdf file:

1
wget https://acmcyber.com/static/files/51026a428002bf94/megamind.pdf

Next check the file with the file utility:

1
2
file megamind.pdf 
megamind.pdf: PDF document, version 1.4, 1 pages

What does exiftool say?

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
exiftool megamind.pdf                                                                                                

ExifTool Version Number         : 12.44
File Name                       : megamind.pdf
Directory                       : .
File Size                       : 22 kB
File Modification Date/Time     : 2022:11:17 08:13:57+01:00
File Access Date/Time           : 2022:11:17 18:36:21+01:00
File Inode Change Date/Time     : 2022:11:17 18:36:16+01:00
File Permissions                : -rw-r--r--
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.4
Linearized                      : No
Page Count                      : 1
Title                           : megamind
Producer                        : Skia/PDF m109 Google Docs Renderer

This is what the pdf file looks like:

/images/no_flags.png

After just getting all printable characters using the strings command we get the flag:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
xref
0 17
0000000000 65535 f 
0000000015 00000 n 
0000001320 00000 n 
0000000099 00000 n 
0000015589 00000 n 
0000021286 00000 n 
0000000136 00000 n 
0000001538 00000 n 
0000001593 00000 n 
0000001640 00000 n 
0000014632 00000 n 
0000014877 00000 n 
0000015233 00000 n 
0000015738 00000 n 
0000020195 00000 n 
0000020388 00000 n 
0000020621 00000 n 
trailer
<</Size 17
/Root 8 0 R
/Info 1 0 R>>
startxref
21426
%%EOFflag{no_compan1onship}

found flag: flag{no_compan1onship}