linuxBandit Level 25 β†’ Level 26

ls
cat bandit26.sshkey

Copy it to our local machine, and try to authenticate using it:

It is immediately closing.

Lets check what bandit26 is running:

It is more command.

We can minimize our terminal until we get this more:

After that we will convert to visual mode by pressing the v letter:

We will set the shell to /bin/bash:

And the execute the shell:

And we will get the password from the /etc/bandit_pass/bandit26:

This is the password, but we do not need it actually.

Last updated