Previous Level: Level 17
ssh -i sshkey17.private firstname.lastname@example.org -p 2220
(Private SSH key from the previous level)
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
A little bit of Theory
diff command prints the difference between two files.
Find the one line that is different between two files.
So since I wrote ‘passwords.new’ in second place, the new password is also printed in the second part.
This is an alternative I thought of based on level 9. However, it does not seem that sort keeps the overall order of the files. But
grep can be used to confirm the correct password.
Next Level: Level 19