ritheachengkh

🌊 Leviathan Level 6 β†’ Level 7

ssh leviathan6@leviathan.labs.overthewire.org -p 2223
leviathan6_password

l6s1

Once we listed the directory with ls, we noticed a file called leviathan6 and ran it.

ls -la
./leviathan6

l6s2

Next, we brute‑forced the 4‑digit code using the following command.

for i in {0000..9999}; do ./leviathan6 $i; done

l6s3

Eventually, we got a shell and captured the flag.

whoami
cat /etc/leviathan_pass/leviathan7

l6s4

Brilliant! Use the flag to continue to the next level.