Pages

Saturday, August 13, 2011

How to Read hidden password in Login Pages

You might have seen that the password you enter will be 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 account admin try to log in to his account.
But here is a trick to read the hidden password of the admin inside password field of a Log in page or even any other pages. 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;}}
Try this to check the trick :
  1.  Open Google.com
  2. Click on the log in link.
  3. Enter the username and password in the log in page of Google.
  4. Copy paste the code into the address bar of the Google log in page now.
  5. You can see the password you entered before in a dialog box as plain text.
hack password
This Trick works best on Google Chrome and better on Firefox. It might also work on all other browsers which supports java scripts.

0 comments:

Post a Comment