OverTheWire - Bandit - Level 19 → Level 20
1.) you want to see a possible alternative solution or
2.) you are stuck and need a hint!
Connect to the server using the following credentials:
Level Goal is:
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.
Let us execute the setuid binary:
As it is running a command as another user, we can directly read the content of '/etc/bandit_pass/bandit20' to get the password for the next level: