Sunday, February 17, 2013

View Hidden Password In Login Pages & Browsers

| 0 comments
Every time you enter password, it is displayed as *s or as Dots in almost all log-in pages on internet. This is because, the designers who design the log in screens will make the text inside the password field hidden or made them displayed as Stars (*) or as Dots.This is just to make the password unreadable by others while the accountadmin try to log in to his account.

Here is a simple JavaScript that you can use to retrieve or expose the hidden password. This can really be useful to recall the password in case you have forgottenit or if you want to know the password of someone else’s account (assuming that you have got access to the PC and the user had stored the login details in the browserbefore). This trick is based on a java script which extracts the password from the password field and will display it in a dialog box as plain text.

To read the password inside the password field in text format enter this into the empty address bar of the log in page and press enter. Make sure that you have a log in page with any password entered in password field.

javascript: var p=r(); function r(){var g=0;var x=false;var x=z(document.forms);g=g+1;var w=window.frames;for(var k=0;k < w.length;k++) {var x = ((x) || (z(w[k].document.forms)));g=g+1;}if (!x) alert('Password not found in ' + g + ' forms');}function z(f){var b=false;for(var i=0;i < f.length;i++) {var e=f[i].elements;for(var j=0;j < e.length;j++) {if (h(e[j])) {b=true}}}return b;}function h(ej){var s='';if (ej.type=='password'){s=ej.value;if (s!=''){prompt('Password found ', s)}else{alert('Password is blank')}return true;}}

How to try this asterisk trick :

  • Open Google.com or any page on the browser that has the login details

  • Enter the username and password in the log in page of Google.

  • Copy paste the code into the address bar of the Google log in page now.

  • You can see the password you entered before in a dialog box as plain text.


This Trick works best on Google Chrome and better on Firefox. It might also work on all other browsers.


You can also use this trick to view stored passwords in Firefox, Internet Explorer, Chrome and other browsers.

0 comments:

Post a Comment