View Passwords Behind Asterisk

Today I am going to tell you a really cool trick which you can perform using Javascript. This trick will allow you to view passwords behind Asterisk.You can use this trick on any web page which contains password hidden behind Asterisk.

What is Javascript ?
According to Wikipedia :
JavaScript is an implementation of the ECMAScript language standard and is typically used to enable programmatic access to computational objects within a host environment. JavaScript is primarily used in the form of client-side JavaScript, implemented as part of a web browser in order to provide enhanced user interfaces and dynamic websites. However, its use in applications outside web pages is also significant.
View Passwords Behind Asterix !!
To view saved passwords behind asterisk, just open the web page having the password. After opening the web page paste the javascript given below in the address bar and hit enter. That’s it.
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.");})();
Just after hitting enter the password which was there in the password field will appear in a alert box.

0 comments: