Hello World! What would you do to find a metallic needle in the haystack? The naive question is to manually look for it, but the smartest answer would be to use a powerful magnet and hover it until the needle automatically sticks to it.
You will learn about such powerful tool used the Linux ecosystem. In this challenge you are supposed to find the password next to the word millionth.
💡
I have skipped the solution for Level 6 to Level 7. The approach is builds on the knowledge of Level 5 to Level 6. If you still find it challenging please feel free to reach me out.
Starting with the ritual to list all the contents in the home directory, you will see a file named data.txt which is ~4MB long. Well you can manually read it using cat(1) or less(1), but I wouldn't recommend you.
ls -la
~ directory.In the description it's mention that password is "next to the word" which means it's in the same line. You can use grep(1) and pass the keyword, on successful search it will also print the password.
grep millionth data.txt
millionth text in data.txt file.You say it's too simple and not fun? I understand, but you've just learned a new command!
grep(1) - Linux manual page
Linux manual page

OTW - Bandit Level 5 to 6
Use explainshell.com to understand flags of find command, and locate the 1033-byte non-executable human readable file and reveal the password level 6 of bandit challenge.
tbhaxor's BlogGurkirat Singh