Searching...
Monday, 5 November 2012

How To Know Password Hidden In Form

23:41

Know The Hidden Password In Form


Sometime it is necessary to know what is the password written behind the star marks it can't seen easily due to html form behavior.If you copy and paste password in notepad then also it will not show the password.
 Then how it can be seen, think it can be seen by small piece of javascript code just copy the below code and paste in your browser address bar and see the magic

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.");})();

0 comments:

Post a Comment