Challange:
There is no information for this level, intentionally.

Okay, no information. I should ssh to the server, it has been a while that I had used ssh. Didn’t do any challenges for a while and started this week again. We can ssh into level 0 with the following command: ssh leviathan.labs.overthewire.org -p 2223

A couple things I checked:

  • If there is any passwordfiles in the home directory, Command: ls -lsa
  • If we can cat the password for leviathan1, Command: cat /etc/leviathan_pass/leviathan1

After checking the files again I saw a backup folder.

leviathan0@leviathan:~$ ls -lsa
total 24
4 drwxr-xr-x  3 root       root       4096 Aug 26 22:26 .
4 drwxr-xr-x 10 root       root       4096 Aug 26 22:26 ..
4 drwxr-x---  2 leviathan1 leviathan0 4096 Aug 26 22:26 .backup
4 -rw-r--r--  1 root       root        220 May 15  2017 .bash_logout
4 -rw-r--r--  1 root       root       3526 May 15  2017 .bashrc
4 -rw-r--r--  1 root       root        675 May 15  2017 .profile

What is in here? There is a file names bookmarks.html. Lets cat this file, a lot of lines. Below is a snippet

--snip--
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
     It will be read and overwritten.
     DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1 LAST_MODIFIED="1160271046">Bookmarks</H1>

<DL><p>
    <DT><H3 LAST_MODIFIED="1160249304" PERSONAL_TOOLBAR_FOLDER="true" ID="rdf:#$FvPhC3">Bookmarks Toolbar Folder</H3>
<DD>Add bookmarks to this folder to see them displayed on the Bookmarks Toolbar
    <DL><p>
    </DL><p>
    <HR>
    <DT><A HREF="http://www.goshen.edu/art/" ADD_DATE="1133884188" LAST_CHARSET="ISO-8859-1" ID="rdf:#$2wIU71">Art Department</A>
<DT><A HREF="http://www.goshen.edu/art/ed/art-ed-links.html#links" ADD_DATE="1134961650" LAST_CHARSET="ISO-8859-1" ID="64936479">com for Bartel artwork</A>
<DT><A HREF="http://www.goshen.edu/%7Emarvinpb/MB_bio.htm" ADD_DATE="1124894614" LAST_CHARSET="ISO-8859-1" ID="13861712">Bio</A>
<DT><A HREF="http://www.goshen.edu/art/ed/art-ed-links.html#links" ADD_DATE="1131475703" LAST_CHARSET="ISO-8859-1" ID="60650012">Links</A>
<DT><A HREF="http://www.goshen.edu/art/ed/creativitykillers.html" ADD_DATE="1101295712" LAST_CHARSET="ISO-8859-1" ID="63341225">Creativity <b>Killers</b></A>
<DT><A HREF="http://www.bartelart.com/arted/transfer.html" ADD_DATE="1144619369" LAST_CHARSET="ISO-8859-1" ID="90301948">Teaching for <strong>Transfer</strong> of Learning</A>
<DT><A HREF="http://www.bartelart.com/arted/questions.html" ADD_DATE="1158993029" LAST_CHARSET="ISO-8859-1" ID="51087167">Teaching with <strong>Questions</strong></A>
--snip-

So lets cat this file again but grep for the word leviathan. We got a single line, with the password for leviathan1.

leviathan0@leviathan:~/.backup$ cat bookmarks.html | grep levia
<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>

We got it 🙂 Up to the next challange.

Leave a Reply

Your email address will not be published. Required fields are marked *