https://portswigger.net/web-security/all-labs#authentication
This lab is vulnerable to username enumeration. It uses account locking, but this contains a logic flaw. To solve the lab, enumerate a valid username, brute-force this user’s password, then access their account page.
Lab: Username enumeration via account lock
- First we try to login with invalid username and password. Then we get the massage
Invalid username or password. - After so many time sending this request nothing change.
- Now we will use intruder tab to brute-force the given username 5 time and remove the response with
Invalid username or password. ag(change every-time) give useYou have made too many incorrect login attempts. Please try again in 1 minute(s).so it is the valid username.- Now we will make password brute-force and remove the response
You have made too many incorrect login attempts. Please try again in 1 minute(s).Then we will find our password and that is1234 - Now login and complete the lab.