Joshua Nichols

Bandit Level 8 -> Level 9

Overview

Bandit Level 8: The password for Level 9 is stored in a file named data.txt and is the only line of text that occurs only once.

One will need to read the file data.txt and find the line that occurs only once.

Connection:

Host: bandit.labs.overthewire.org
Port: 2220
User: bandit8
Password: (use the password from Level 7's data.txt file)

Steps

1. SSH into the server as bandit8

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

2. Find the unique line

bandit8@bandit
bandit8@bandit:~$
sort data.txt | uniq -u
(password for bandit9)

Summary