Fork me on GitHub

wargame-leviathan

练习网址

0x-1 Level 0

There is no information for this level, intentionally.

1
2
ssh leviathan0@leviathan.labs.overthewire.org -p 2223
leviathan0

0x00 Level 0 → Level 1

There is no information for this level, intentionally.

1
2
3
4
ls -a
cd .backup
ls
cat bookmarks.html|grep password

1
rioGegei8m

0x01 Level 1 → Level 2

There is no information for this level, intentionally.

1
2
3
4
5
6
7
8
ls
ltrace ./check
111
./check
sex
cat /etc/leviathan_pass/leviathan2

ltrace 能够跟踪进程的库函数调用,它会显现出哪个库函数被调用

1
ougahZi8Ta

0x02 Level 2 → Level 3

There is no information for this level, intentionally.

1
2
3
4
5
6
7
8
9
10
11
12
ls
./printfile
./printfile 1.txt
mkdir /tmp/hf1dw2
cd /tmp/hf1dw2
echo 'hello' >1.txt
ltrace ~/printfile 1.txt
ln -s /etc/leviathan_pass/leviathan3 a
touch a\ b.txt
~/printfile a\ b.txt

ln -s 源文件 目标文件 为某一个文件在另外一个位置建立一个同不的链接

1
Ahdiemoo1j

0x03 Level 3 → Level 4

There is no information for this level, intentionally.

1
2
3
4
5
6
7
8
9
ls
ltrace ./level3
111
./level3
snlprintf
id
cat /etc/leviathan_pass/leviathan4

id 命令用于显示用户的ID,以及所属群组的ID

1
vuH0coox6m

0x04 Level 4 → Level 5

There is no information for this level, intentionally.

1
2
3
4
ls
ls -a
./bin
二进制转ascii

二进制转ascii

1
Tith4cokei

0x05 Level 5 → Level 6

There is no information for this level, intentionally.

1
2
3
4
5
6
ls
./leviathan5
echo 'hello'>/tmp/file.log
./leviathan5
ln -s /etc/leviathan_pass/leviathan6 /tmp/file.log
./leviathan5

1
UgaoFee4li

0x06 Level 6 → Level 7

There is no information for this level, intentionally.

1
2
3
4
5
6
7
ls
./leviathan6
ltrace ./leviathan6
./leviathan6 1111
for i in {0000..9999};do ./leviathan6 $i;done
id
cat /etc/leviathan_pass/leviathan7

1
ahy7MaeBo9

参考:
write_up