See The Passwords Behind Asterisk Using Javascript!

Monday, March 28, 2011

This short tutorial will show how to read out a saved password of a web browser using Javascript.

First visit the website
Example: http://www.gmail.com
Username: example@gmail.com
Password: ********

Copy and then paste the following code in the Address Bar of your browser and press Enter in order to find the password behind the Asterisk signs.


CODE:
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;}}

A message will be displayed showing the saved password.



You Might Also Like

2 comments

  1. i just came by and saw this topic..
    Really good information.

    ReplyDelete
  2. i just came by and saw this topic..
    Really good information.

    ReplyDelete

Like us on Facebook

Featured Post

Beginners guide to Deep Web or Darknet

The "Deep Web" or "Darknet" is a collection of un-indexed pages, meaning you can't find all of them by searching. ...