Bandit.Lvl25 – brute-forcing

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 – Lvl24 – first shell-script

Goal

A daemon is listening on port 30002 and will give you the password for bandit25 if given the password for bandit24 and a secret numeric 4-digit pincode. There is no way to retrieve the pincode except by going through all of the 10000 combinations, called brute-forcing.

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

PowerShell Modules Used

Key Linux command(s)

  • netcat
  • for <variable> in 1..n
    do
    command1
    ...
    commandN
    done
  • grep

Next level – Lvl26 – not /bin/bash

Thanks a lot for reading.

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

Leave a Reply

Your email address will not be published. Required fields are marked *

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