Bandit 17 → 18
Goal: find the one line that differs between passwords.old and passwords.new.
Approach
Section titled “Approach”bandit17@bandit:~$ diff passwords.old passwords.new42c42< Vhc9EKhF5JOIiQsrq2hjyvDaALKaGKCh---> <password>Password
x2gLTTjFwMOhQ8oWNbMN362QKxfRqGlOWhy it works
Section titled “Why it works”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.