05 March, 2012

See passwords behind stars! by using a simple javascript




Alright, now you could read out the **-stuff with a simple javascript code.

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

All you need is to copy & paste it in the URL-address bar.
Delete http://www.gmail.com and paste the code into it.

No comments:

Post a Comment