Bandit.Lvl17 – localhost & ports range

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 – Lvl16 – localhost & SSL

Goal

The credentials for the next level can be retrieved by submitting the password of the current level to a port on localhost in the range 31000 to 32000. First find out which of these ports have a server listening on them. Then find out which of those speak SSL and which don’t. There is only 1 server that will give the next credentials, the others will simply send back to you whatever you send to it.

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

PowerShell Modules Used

Key Linux command(s)

  • nc -zv
  • cut -d
  • openssl s_client -connect -quite -brief

Next level – Lvl18 – password.old vs password.new

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.