App - Script
Monday 9 October 2017, 23:29 #1
Bash - System 1
Hi,
Trying this first App-Script challenge.
Here’s what I tried: as ch11 has the sticky bit, so run as root, I’d like it to do a cat instead of ls of the .passwd file.
I tried to copy /bin/cat as ls in a directory other than /bin, and before /bin in the $PATH.
But this fails because I have to permission to write in /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin or /sbin.
I don’t even know if I am going in the correct direction.
Would you have a clue?
Thanks
Thursday 12 October 2017, 04:26 #2
Bash - System 1
If you can’t write to those directories, how might you go about finding other places that are writeable? Are there any places on the system that are writeable???