Ahhhh yes. One thing I really enjoyed about bandit was the quick progression, and practical nature of the challenges. It was pretty straight forward to bang through levels, and there were some fun techniques I learnd by doing them.
I also really enjoyed that I could do 3 or 4, then come back several days later, and pick it back up.
Sometimes with longer or more difficult challenges, I found myself getting discouraged because I could only spend 15-20 minutes on it at a time. You know, full time job, kids, etc.
Uh oh… this one is owned by the user
root, and group
root… BUT… if you look at the permissions, you can see that everyone has
|d||—||—||—||it’s a directory|
|—||rwx||—||—||OWNER has read, write, execute|
|—||—||r-x||—||GROUP has read, execute|
|—||—||—||r-x||EVERYONE has read, execute|
There’s a pretty reasonable explanation here as well: Linux File Permission
Since we have read, and execute permissions, let’s go check what’s in directory.
Paying attention to directory, and file permissions will be a huge help in the *nix world. In this case, we were able to go in, and even read/execute files/scripts that may have been in there. We just needed to find the hidden file.
Files that start with a period (
.something) are hidden in *nix.
a switch tells
ls to show hidden files.