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


Password: use sshkey.private from the previous level.

If you’re prompted for yes/no, type yes and press enter.

So let’s see what we’ve got.

Two 3300 character files. Rather than compare them line by line, let’s get diff to do that for us.

The < points to the line in the first file (passwords.old), with > being the second file (passwords.new). We want the new password.