4 ms·
What am I doing wrong: Current time: cat: /home/level02/.password: Permission denied Does someone has a tip?
by ghost91 15y ago
What am I doing wrong:
Current time: cat: /home/level02/.password: Permission denied
Does someone has a tip?
- dangrossman 15y agoSaying anything more would be ruining the contest.
- deleted 15y ago[deleted]
- jc4p 15y agoThe whole point is that you're supposed to find vulnerabilities in what you have access to and exploit them to view contents of things you don't have permission to.
- ghost91 15y agoI replaced the date with my own script, but it still gets executed as level01 user
- necubi 15y agoHint: not all shells blindly run scripts as the setuid user.
- alanstorm 15y agoHINT: For the purpose of this hint we'll assume your script is a bash script. If you've exploited the setuid program to run your script, bash may execute with the elevated permissions, but any program bash runs will run with your permissions.