Over The Wire


Leviathan

Host: leviathan.labs.overthewire.org

Port: 2223



Level 1

ssh leviathan1@leviathan.labs.overthewire.org -p 2223
password: 3QJ3TgzHDq

Objective:

There is no information for this level, intentionally.

CLI:

            leviathan1@gibson:~$ ls -la
            total 36
            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 leviathan2 leviathan1 15080 Sep 19 07:07 check
            -rw-r--r--  1 root       root         807 Mar 31  2024 .profile
            
            leviathan1@gibson:~$ ./check
            password: red
            Wrong password, Good Bye ...
            
            leviathan1@gibson:~$ ltrace ./check
            __libc_start_main(0x80490ed, 1, 0xffffd494, 0 "unfinished ..."
            printf("password: ")                             = 10
            getchar(0, 0, 0x786573, 0x646f67password: red

            )                = 114
            getchar(0, 114, 0x786573, 0x646f67)              = 101
            getchar(0, 0x6572, 0x786573, 0x646f67)           = 100
            strcmp("red", "sex")                             = -1
            puts("Wrong password, Good Bye ..."Wrong password, Good Bye ...
            )             = 29
            +++ exited (status 0) +++

            leviathan1@gibson:~$ ./check
            password: sex
            $ whoami
            leviathan2
            $ cat /etc/leviathan_pass/leviathan2
            NsN1HwFoyN
            $ 
          

Leviathan