Level goal

The password for the next level is stored in the only human-readable file in the inhere directory. Tip: if your terminal is messed up, try the “reset” command.

Login

ssh bandit4@bandit.labs.overthewire.org -p 2220
2WmrDFRmJIq3IPxneAaMGhap0pFhF3NJ

Doc

cat (1)              - concatenate files and print on the standard output

Solution

Cat files using operator until flag is found.

bandit4@bandit:~/inhere$ cat < -file00
,YqfL����x4Fbandit4@bandit:~/inhere$ cat < -file01
Nbandit4@bandit:~/inhere$ cat < -file02
9Fp��tk%bandit4@bandit:~/inhere$ cat < -file03
nQy��͍{+RZkF*	bandit4@bandit:~/inhere$ cat < -file04

l�]�߯-@gQ÷wzPybandit4@bandit:~/inhere$ cat < -file05
ӻT9����
T՜Fbandit4@bandit:~/inhere$ cat < -file06
QĹMp4-��!#g�[?2004hbandit4@bandit:~/inhere$ cat < -file07
4oQYVPkxZOOEOO5pTW81FB8j8lxXGUQw