Over The Wire


Leviathan

Host: leviathan.labs.overthewire.org

Port: 2223



Level 3

ssh leviathan3@leviathan.labs.overthewire.org -p 2223
password: f0n8h2iWLP

Objective:

There is no information for this level, intentionally.

CLI:

          leviathan3@gibson:~$ ls -la
          total 40
          drwxr-xr-x  2 root       root        4096 Sep 19 07:07 .
          drwxr-xr-x 83 root       root        4096 Sep 19 07:09 ..
          -rw-r--r--  1 root       root         220 Mar 31  2024 .bash_logout
          -rw-r--r--  1 root       root        3771 Mar 31  2024 .bashrc
          -r-sr-x---  1 leviathan4 leviathan3 18096 Sep 19 07:07 level3
          -rw-r--r--  1 root       root         807 Mar 31  2024 .profile

          leviathan3@gibson:~$ ./level3
          Enter the password> red
          bzzzzzzzzap. WRONG

          leviathan3@gibson:~$ ltrace ./level3
          __libc_start_main(0x80490ed, 1, 0xffffd494, 0 'unfinished ..."
          strcmp("h0no33", "kakaka")                       = -1
          printf("Enter the password> ")                   = 20
          fgets(Enter the password> red

          "red\n", 256, 0xf7fae5c0)                  = 0xffffd26c
          strcmp("red\n", "snlprintf\n")                   = -1
          puts("bzzzzzzzzap. WRONG"bzzzzzzzzap. WRONG
          )                       = 19
          +++ exited (status 0) +++

          leviathan3@gibson:~$ ./level3
          Enter the password> snlprintf
          [You've got shell]!
          $ whoami
          leviathan4
          $ cat /etc/leviathan_pass/leviathan4
          WG1egElCvO
          $ 
        

Leviathan