Thursday, May 26, 2011

Reveal asterisk passwords on your browser!

Did you know that your password field in you browser (login page) can be revealed?

Applies to,,,etc...

Heres how.

Before you press the login button or enter key paste this Java script in your website address bar (the page you want to know the password )

Two types of script:

1. first trick: (show pop in dialog but not good in frames pages)

javascript:(function(){var s,F,j,f,i; s = ""; F = document.forms; for(j=0; j<F.length; ++j) { f = F[j]; for (i=0; i<f.length; ++i) { if (f[i].type.toLowerCase() == "password") s += f[i].value + "\n"; } } if (s) alert("Passwords in forms on this page:\n\n" + s); else alert("There are no passwords in forms on this page.");})();

2. 2nd trick: (show pop up windows but good in frame pages)


How to avoid this flaw?

Do not let your browser saves your password or if you type your password make sure you will not leave your browser where your password is completed.

brought to you by:

No comments:

Post a Comment