Skip to content

Bandit 17 → 18

OverTheWire Linux Progressive

Goal: find the one line that differs between passwords.old and passwords.new.

bandit17@bandit
bandit17@bandit:~$ diff passwords.old passwords.new
42c42
< Vhc9EKhF5JOIiQsrq2hjyvDaALKaGKCh
---
> <password>
Passwordx2gLTTjFwMOhQ8oWNbMN362QKxfRqGlO

diff reports only the unique lines that differ between two otherwise identical files, using the less-than symbol (<) to mark the original text and the greater-than symbol (>) to mark the modifications. In this case, The new password is the single changed entry.