Test login rate limiting
To test if a login endpoint is vulnerable to brute-force attacks, send multiple POST requests to the wp-login.php endpoint with different credentials. If the endpoint does not implement rate limiting, it will respond with a 200 OK status code for each failed login attempt. A suc…