../

OverTheWire - Bandit: Level 20 to Level 21


To gain access to the next level, you should use the setuid binary in the homedirectory. Execute it without arguments to find out how to use it. The password for this level can be found in the usual place (/etc/bandit_pass), after you have used the setuid binary.

The home directory contains a simple application which executes any command as bandit20. This way we can easily cat the password file at /etc/pass/bandit20

1$ ./bandit20-do cat /etc/bandit_pass/bandit20
2VxCazJaVykI6W36BkBU0mJTCM8rR95XT

Kategorien: #/writeups/; #/overthewire/

Tags: #/security/; #/hacking/; #/bash/; #/linux/; #/ctf/