Over The Wire – Bandit 17

Level Goal
There are 2 files in the homedirectory: passwords.old and passwords.new. The password for the next level is in passwords.new and is the only line that has been changed between passwords.old and passwords.new

NOTE: if you have solved this level and see ‘Byebye!’ when trying to log into bandit18, this is related to the next level, bandit19

So we have two files with a line different between them.

This sounds like a perfect time to use diff.

Diff will show us the difference between file1 and file2 respectively.

In this case, I will look at the difference between passwords.old and passwords.new

Screenshot from 2018-06-26 23-35-57.png

We have two strings that look like they could be the key. Assuming that passwords.old was changed to passwords.new, the second flag should be correct.

Leave a comment