I was trying to get through level 4 of Over the Wire - Bandit wargame. The level requires you to look for a password stored in the only human-readable file in a folder.
Now, the files are only a few, so what I did was, for each file, check its type with the
file command, and open the ASCII one as soon as I found it.
I was wondering if there is a way to pass
file results to the
find command, in order to make this search automatically.
(Feels like a really trivial question, but still I couldn't find an answer).
Thank you in advance