Bandit.Lvl20 – setuid binary

This is the blog post series related to Bandit Wargame from OverTheWire community. It is my attempt to challenge myself and play some Wargames as suggested by CTF Field Guide.

Previous challenge – Lvl19 – SSH logout

Goal

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.

Reference: https://overthewire.org/wargames/bandit/bandit20.html

PowerShell Modules Used

Key Linux command(s)

  • bandit20-do

Next level – Lvl21 – setuid binary v2

Thanks a lot for reading.

Icons made by surang & Freepik from www.flaticon.com.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.