Goal
Two files exist:
passwords.oldpasswords.new
The next password is the only line that changed between them.
Hints
diffis designed for this.- You’re looking for lines prefixed by
<and>in diff output.
Solution (click to reveal)
- SSH in:
ssh bandit18@bandit.labs.overthewire.org -p 2220
- Compare files:
diff passwords.old passwords.new
The line present only in passwords.new is the password for Level 19.
Notes
- If you prefer a cleaner view:
diff -u passwords.old passwords.new