Burp Scanner's ability to identify login and registration forms is a key part of what makes authenticated scanning in Burp so effective.
When crawling, Burp Scanner first identifies any forms that it believes to be login or registration forms. Any forms meeting all of the following criteria are added to the list:
type=password.
name attribute.
Burp Scanner then attempts to distinguish registration forms from login forms. To do this, it applies a series of ordered criteria.
The registration form is:
For example, if two forms have an equal number of password fields, Burp Scanner next compares the number of text fields, and so on.
Burp Scanner identifies login and registration forms based on the password field. However, it only enters a username or email address if the related fields:
type=email or type=text attribute.
name attribute.
If the username field does not meet these conditions, then Burp Scanner can identify the form but is unable to enter the corresponding data.
Burp Scanner submits the username as provided in the following situations:
type=text attribute.
type=email attribute and the username provided ends in an email domain.
If the field has a type=email attribute but the username provided does not end in an email domain, then Burp Scanner submits the provided username with @burpcollaborator.net appended.