Bandit Level 8
- The password is the only line in
data.txtthat appears exactly once- all the other lines are duplicates.
sort data.txt | uniq -udoes this in one command.sortgroups identical lines together, becauseuniqonly compares adjacent lines- thus, it needs the file sorted first.
uniq -uthen prints only the lines that are unique.
Password
cvX2JJa4CFALtqS87jk27qwqGhBM9plV