Joshua Nichols

Bandit Level 7 -> Level 8

Overview

Bandit Level 7: The password for Level 8 is stored in a file named data.txt next to the word millionth.

One will need to read the file data.txt and filter it for lines containing the word millionth.

Connection:

Host: bandit.labs.overthewire.org
Port: 2220
User: bandit7
Password: (use the password from Level 6's /var/lib/dpkg/info/bandit7.password file)

Steps

1. SSH into the server as bandit7

local
$
ssh bandit7@bandit.labs.overthewire.org -p 2220
(enter the password you found in Level 6 when prompted)

2. Search the file on the server using grep

bandit7@bandit
bandit7@bandit:~$
cat data.txt | grep millionth
millionth       (password for bandit8)

Summary