Over The Wire


Bandit

Host: bandit.labs.overthewire.org

Port: 2220



Level 7

ssh bandit7@bandit.labs.overthewire.org -p 2220
password: z7WtoNQU2XfjmMtWA8u5rN4vzqu4v99S

Objective:

The password for the next level is stored in the file data.txt next to the word millionth.

  • $cat data.txt | grep millionth

With the pipe "|" we can use cat and grep to look through the text file because they are on the same line.

CLI:

bandit7@bandit:~$ du -b data.txt
4184396 data.txt
bandit7@bandit:~$ cat data.txt | grep millionth
millionth TESKZC0XvTetK0S9xNwm25STk5iWrBvP
bandit7@bandit:~$

Bandit