
Here we have a simple brute force challenge that —will— take you all night if you blindly fire at it.
For this challenge, we’ll need to do the following:
- Create a wordlist that contains all possible 3-letter combinations
- Download the password list.
- Write a program that tests every username and looks for requests that take longer to respond.
- Poorly coded applications will only do password checks if a correct username is typed in.
- If the password check operation is expensive, we can tell which usernames are correct based on the time the web server takes to respond.
- Write a program that checks every password for the username found in the previous set.
Create a list called usernames.txt that contains a list of all possible 3-letter combinations.
- We can use the
crunch program to do this.
crunch 3 3 abcdefghijklmnopqrstuvwxyz -o usernames.txt
- Download the password file using
wget
wget https://raw.githubusercontent.com/danielmiessler/SecLists/refs/heads/master/Passwords/UserPassCombo-Jay.txt
Now, we need a Python program that:
- Logs in with each username in
usernames.txt
- Uses a single password like ‘BadPassword’
- Prints back the time it takes for the webserver to respond to each request.
The form field names are username and password, respectively.

Let’s create a temporary wordlist called singlepassword.txt that holds one password to test each username with a single password first.
pico singlepassword.txt