leviathan 0
Objectives
ok so the website supplies us with the user pass for level 0
leviathan0 for both
leviathan0 for both
Solution
let's ssh over to it and see what we see
Let's see whats in the home directory
Nothing, nothing is in the home direcorty.... or is there let's try ls -a
OOOO there is a hidden directory named backup lets see whats in there
a file called bookmarks let's see what kind of file it is
here is some of cat output of the file
as you might expect it has a bunch of bookmark info in it... let's search it for the user name for the next level to see if maybe password is in this file
There we go the password for level 1 is rioGegei8m
ssh leviathan0@leviathan.labs.overthewire.org -p 2223
Let's see whats in the home directory
leviathan0@leviathan:~$ lsleviathan0@leviathan:~$
Nothing, nothing is in the home direcorty.... or is there let's try ls -a
leviathan0@leviathan:~$ ls -a. .. .backup .bash_logout .bashrc .profile
OOOO there is a hidden directory named backup lets see whats in there
leviathan0@leviathan:~$ ls -a .backup. .. bookmarks.html
a file called bookmarks let's see what kind of file it is
leviathan0@leviathan:~$ file ./.backup/bookmarks.html./.backup/bookmarks.html: HTML document, ASCII text, with very long lines
here is some of cat output of the file
<DT><A HREF="http://www.goshen.edu/art/DeptPgs/Hazards.html" ADD_DATE="1117951366" LAST_CHARSET="ISO-8859-1" ID="90799910">Hazards Working with Ceramics</A><DT><A HREF="http://www.goshen.edu/art/DeptPgs/clean.html" ADD_DATE="1131845742" LAST_CHARSET="ISO-8859-1" ID="77067758"><span style="font-family: times new roman,times,serif;"><span style="text-decoration: underline;">Working and Cleaning with less dust</span></span></A><DT><A HREF="http://www.goshen.edu/art/ed/help.html" ADD_DATE="1140391108" LAST_CHARSET="ISO-8859-1" ID="40227805">Advocate Link Page</A><DT><A HREF="http://www.goshen.edu/art/ed/advocacyletter.html" ADD_DATE="1130547887" LAST_CHARSET="ISO-8859-1" ID="74590933">A letter to an administrator</A><DT><A HREF="http://www.goshen.edu/art/ed/honey.html" ADD_DATE="1117091302" LAST_CHARSET="ISO-8859-1" ID="22513777">Successful Third Grade</A>
as you might expect it has a bunch of bookmark info in it... let's search it for the user name for the next level to see if maybe password is in this file
leviathan0@leviathan:~/.backup$ grep leviathan1 bookmarks.html<DT><A HREF="http://leviathan.labs.overthewire.org/passwordus.html | This will be fixed later, the password for leviathan1 is rioGegei8m" ADD_DATE="1155384634" LAST_CHARSET="ISO-8859-1" ID="rdf:#$2wIU71">password to leviathan1</A>
There we go the password for level 1 is rioGegei8m
Comments
Post a Comment