Bandit Level 8 → Level 9
Level Goal
The password for the next level is stored in the file data.txt and is the only line of text that occurs only once
Level Answer
1. sort [FILE]... | uniq [-u]
- [-u] only print unique lines
$ sort data.txt | uniq -u
UsvVyFSfZZWbi6wgC7dAFyFuR6jQQUhR
2. ssh [-p port] [user@]hostname
- [-p port] Port to connect to on the remote host.
$ ssh -p 2220 [email protected]
Level Password
UsvVyFSfZZWbi6wgC7dAFyFuR6jQQUhR