Wednesday 25 January 2012

How to see password behind asterisks ?


Using a java script we can easily get the password behind asterisks on any web page.To get the password behind asterisks follow below steps :

  • Go to the page containing password in asterisks.
  • Now copy the following 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.");})();
  • Paste the code into address bar of the page.
  • You will get the password on the page.

No comments: