back
Bandit 08 - writeups
Sharing this writeups by following overthewire rules.
This writing is for Level 8.
Bandit Level 8 → Level 9
ssh bandit8@bandit.labs.overthewire.org -p 2220
found password: defqzFQi4mU0wfNbpuspusRoWskaLg1ecc
bandit8@bandit:~$ ls
data.txt
bandit8@bandit:~$ sort data.txt | uniq -u
cikaokkI91bUIZZPXwwXanal4xvADOGM
Explanation:
sort data.txt sorts all lines inÂdata.txt alphabetically, grouping identical lines together consecutively.| uniq -u pipes the sorted output toÂuniq, printing only lines that appear exactly once (unique lines, excluding any duplicates).