wargame--Leviathan
2019-06-17 本文已影响0人
Hf1dw
0x-1 Level 0
There is no information for this level, intentionally.
ssh leviathan0@leviathan.labs.overthewire.org -p 2223
leviathan0
0x00 Level 0 → Level 1
There is no information for this level, intentionally.
ls -a
cd .backup
ls
cat bookmarks.html|grep password
rioGegei8m
0x01 Level 1 → Level 2
There is no information for this level, intentionally.
ls
ltrace ./check
111
./check
sex
cat /etc/leviathan_pass/leviathan2
ltrace 能够跟踪进程的库函数调用,它会显现出哪个库函数被调用
ougahZi8Ta
0x02 Level 2 → Level 3
There is no information for this level, intentionally.
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 源文件 目标文件 为某一个文件在另外一个位置建立一个同不的链接
Ahdiemoo1j
0x03 Level 3 → Level 4
There is no information for this level, intentionally.
ls
ltrace ./level3
111
./level3
snlprintf
id
cat /etc/leviathan_pass/leviathan4
id 命令用于显示用户的ID,以及所属群组的ID
vuH0coox6m
0x04 Level 4 → Level 5
There is no information for this level, intentionally.
ls
ls -a
./bin
二进制转ascii
Tith4cokei
0x05 Level 5 → Level 6
There is no information for this level, intentionally.
ls
./leviathan5
echo 'hello'>/tmp/file.log
./leviathan5
ln -s /etc/leviathan_pass/leviathan6 /tmp/file.log
./leviathan5
UgaoFee4li
0x06 Level 6 → Level 7
There is no information for this level, intentionally.
ls
./leviathan6
ltrace ./leviathan6
./leviathan6 1111
for i in {0000..9999};do ./leviathan6 $i;done
id
cat /etc/leviathan_pass/leviathan7
ahy7MaeBo9
参考:
write_up