Wargame: Bandit
Level: 17
Category: Linux Fundamentals
Description
The home directory contains two files: passwords.old and passwords.new. The password for bandit18 is the single line that changed between them.
Overview
diffcompares two files line by line and shows what was added, removed, or changed.- Lines prefixed with
>are in the second file but not the first; one such line is the new password.
Solution
diff passwords.old passwords.new
- The
>line in the diff output is the new password; verify by trying to SSH as bandit18.
Password
hga5tuuCLF6fFzUpnagiMN8ssu9LFrdg