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.
Solution
Password: pIwrPrtPN36QITSp3EQaw936yaFoFgAB
1 |
$ ssh [email protected] -p 2220 |
Let’s take a look in inhere.
1 2 3 |
[email protected]:~$ ls inhere -file00 -file02 -file04 -file06 -file08 -file01 -file03 -file05 -file07 -file09 |
I mean, we could just cat every file, but let’s assume there’s hundreds. It said there is only one human-readable file. Let’s use file to see what each file has inside. The * after inhere/ matches any file. So it’ll run the command on every file it finds.
1 2 3 4 5 6 7 8 9 10 11 |
[email protected]:~$ file inhere/* inhere/-file00: data inhere/-file01: data inhere/-file02: data inhere/-file03: data inhere/-file04: data inhere/-file05: data inhere/-file06: data inhere/-file07: ASCII text inhere/-file08: data inhere/-file09: data |
Looks like -file07 has what we want. Let’s see.
1 2 |
[email protected]:~$ cat inhere/-file07 koReBOKuIDDepwhWk7jZC0RTdopnAYKh |
Yeehaw.