Reveal passwords hidden under Asterisk


Most modern browsers offer the capability of remembering usernames and passwords in order to log in to our favorite websites more quickly. What if you forget the saved username and password?

As web browsers intelligently hide passwords using stars or dots, there is no way in which a user can recover his password by simply looking at what the browser shows. Here is the tricks that you can use to reveal your password for a website when you have forgotten it but your browser remembers it.


METHOD- 1

JavaScript to Reveal Hidden Password under Asterisk


1. Open the login page.










2.  Go to the Address bar of your browser and type javascript:

3. Now copy and paste the following code after "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;}}

4. You'll get an alert box with the password as text.










Note: Mozilla Firefox does not support this method.

METHOD- 2

Use Developer Options to show password


1. Open the website for which your browser has the saved password, then right click on the password box and click Inspect Element.

2. Search this code:

<input type="password" class="inputtext" name="pass" id="pass">


2. Now change the type from password to text like below code.

<input type="text" class="inputtext" name="pass" id="pass">









3. Your password would be immediately visible.

Comments

Popular Posts