**Level Information**
> [!important] 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.**
>
>
>
> **Commands you may need to solve this level:**
>
> - cat, grep, ls, diff
From some prior experience using the `diff` command, I assumed for this one the `diff` command was used as it will highlight the changes made between files and is used commonly in patch management processes.
**Full Command**:
```Bash
diff passwords.new passwords.old
```
In our command, as we specified [passwords.new](http://passwords.new) first, the **first** output will relate to it, i.e., will be our password.
![[Level 17 - 18.png]]
**Note:** When trying to log into the next level with this password you will be kicked out and “bye bye printed to the screen”.