How to crack password in asterisk form


Here is a cool trick to know password written in asterisk form.There are softwares that decode the password in asterisk form but for that you have to copy/paste password in their interface unit. Moreover there are various websites which doesn't allow copy/paste option in password box.
In that case there is a simple code that can reveal any password. Just type the following code in the address bar of the page containing that password and press enter. A screen will immediately popup having decoded password.

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

Submitted by Gaurav Jain

1 opinions:

Sorry, this is not working,
Plz. mail the working code to my mailID.

Thanks in Advance

Sridhar said...
16 December 2007 at 1:39 PM  

Post a Comment