How to Reveal, Show, View Passwords hidden under Asterisks/Stars

How to Reveal, Show, View Passwords hidden under Asterisks/Stars

Most modern browsers offer the capability of remembering usernames and passwords.  Most of us use this feature to automatically save our 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(, asterisks or dots), there is no way in which a user can recover his password by simply looking at what the browser shows. Here are some tips and tricks that you can use to reveal your password for a website when you have forgotten it but your browser remembers it.

Reveal Password Asterisk
Enter your Password!

JavaScript to Reveal Hidden Passwords in Asterisk (Stars)

A simple JavaScript code can be used to view passwords in web browsers like Google Chrome, Internet Explorer, Opera in a popup as an alert message (Mozilla Firefox does not support this. Users of this browser can utilize the bookmarklet given below or the addon mentioned at the end of this post. If you use Google Chrome and the code does not seem to work, precede it with "javascript:" without quotes). To use the JavaScript, open your web browser, open the webpage for which the password is hidden in asterisks, copy and paste the following code in the address bar.

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;}}
Or, alternatively you can use this Show Password Bookmarklet by dragging it to your Bookmarks Bar to instantly view hidden passwords at the click of a button.

Asterisk Star Password
Asterisk Password Recovery Popup in Google Chrome

Use Developer Options to show password

Open the website that has your saved password. Then right click on the password box and click Inspect Element.

A code like this would be displayed:-

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

Change the type from password to text so that the code looks like:-

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

Your password would be immediately visible.

Software to Reveal Hidden Passwords behind Stars

There are many free software that you can use to recover forgotten passwords. Some of them are:-

Asterisk Logger:Asterisk Logger from Nirsoft is one such software. It automatically displays the hidden password whenever a window containing a hidden password is detected.

Password Viewer:Password Viewer by IT Samples is another application that can be used to unmask passwords hidden behind stars. It allows you to view passwords not only in web browsers but also in any program that might be masking passwords from the user.

Both of these software are free and do not require to be installed. All you need to do is just unzip the file and run them. These software work perfectly fine on Windows XP, Windows 7, Windows Vista and Windows Server 2008, 2003. However, in Windows 7 and Vista, they are  required to be used in an Administrator Account. These tools are browser independent. These software will not be able to decrypt or show User Account Control /Windows logon password.

Related: Essential free Software for Windows PC

Mozilla Firefox Add-on

Show My Password is a Firefox Add-on which automatically converts scrambled hidden passwords into human readable form. To use this nifty add-on, just open the webpage with the hidden password and click in the field containing the hidden password. This add-on will automatically reveal the password to you.

These tips can be also be used by someone else to hack your passwords. To avoid such mishaps, I would advise you to stay alert when others use your private computer.
Previous
Next Post »

Information Security Magazine

Latest Cyber Hacking News