Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How browser's identify login forms?

I'm trying to find out: how browsers identify login forms in different sites?

Doesn't matter if I'm acessing my GMail account or some personal project, IE/Firefox always knows that that page contains login info.

Do they conclude that simply searching for input types = password or there is some cookie information involved?

Thank you in advance.

Filipe

like image 637
jfneis Avatar asked Dec 29 '09 20:12

jfneis


2 Answers

No only do they look for type=password they will also look for common input names for usernames and passwords.

For example most browsers will detect the following field names as login information.

<input name="login" type=text>
<input name="user" type=text>
<input name="username" type=text>
<input name="passwd" type="password">
<input name="pass" type="password">
<input name="password" type="password">
like image 98
Tyson of the Northwest Avatar answered Nov 11 '22 13:11

Tyson of the Northwest


They look for input type=password.

like image 29
Annie Avatar answered Nov 11 '22 12:11

Annie