Home easyCTF 2015 Hijacked!
Writeup
Cancel

Hijacked!

Challenge

Someone planted a file on our computer (the shell server), but we don’t know what it is! The only clue that we have is that it’s owned by a user called l33t_haxx0r. Can you figure out the flag?

Solution

1
2
$ find / -user l33t_haxx0r 2>/dev/null
/var/www/html/index.html

This gives an html file with the flag hidden inside it:

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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[..]
<!--
t
h
e

f
l
a
g

i
s

e
a
s
y
c
t
f
{
c
0
m
p
1
e
t
3
l
y
_
r
3
k
t
}
-->

[..]

Flag

easyctf{c0mp1et3ly_r3kt}