Attacks and Exploits

An in-scope web portal checks credentials from an HTML login form and returns HTTP 200 with the text "Invalid login" on failure. Which approach tests a username list against it?

Show the answer

Correct answerA. Hydra's HTTP POST form module with a failure string

AWhy this is right: The POST form module sends the form fields and treats the failure text as the sign of a bad login.

BWhy not this: CrackMapExec tests Windows services such as SMB, not an HTML login form on a web portal.

CWhy not this: The basic-auth module expects an HTTP 401 challenge, which a form-based login does not send.

DWhy not this: Responder captures authentication from poisoned queries; it does not guess passwords against a form.

Hydra's HTTP POST form module submits the form fields and needs a failure string, because the page returns 200 for both outcomes. The basic-auth module relies on a 401 challenge, which this form-based login never sends.