Connect with us

Tips and Tricks

Reveal Hidden Asterisk Browser Passwords via JavaScript Injection

Today you will learn how to reveal asterisk password in internet explorer using a JavaScript code. It will show the original password that are hidden behind the asterisk characters.



reveal asterisk password in the browser

While entering a password on any login web page, it masks as an asterisk password (hidden characters under stars) so that no one can view that secret code.

Due to security reasons the password always shows in asterisk characters instead of an original password. There is a feature in every web browser to save login details for future auto-logins.

Next time, whenever a user opens that particular login page to log in, the browser automatically fills up the login credentials.

Most of the home users save login details on their browser because of they login so often.

Storing passwords or remember login details in the browser is little handy but it becomes risky sometimes.

Well, in this tutorial you will learn how to reveal unmask password in internet browsers using a JavaScript code and Password Cracker Tool.

With the help of this JavaScript code, anyone can easily see the original password hidden behind asterisk characters.

asterisk password

This JavaScript code is working fine in Chrome, IE, and Firefox.

There are many freeware software available online to show saved password quickly,

But it could be dangerous to use an unknown application.

So only use a well-trusted app or use this trick to view asterisk password easily and safely.

How to Show Saved Asterisk Password in Internet Browsers Using JavaScript?

To view asterisk passwords (****) in any internet browser, follow the below steps.

  • Open that web page where the password is available as an asterisk in the browser (ex-
  • The browser will automatically fill up the login input fields. Hit F12 button on your keyboard to open web developer tools, go to Console tab.
  • Copy below JavaScript code and paste it into the Console command field and hit Enter.
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;}}
  • As soon as you hit enter, a popup window will appear showing the original saved password that was earlier an asterisk character.

You can also use inspect element tool to unhide the saved password in the different browsers, check our earlier post – Use Inspect Element As a Password Cracker Tool.

Reveal Hidden Asterisk Password with Trusted Software

Below are two most popular and safe free software that you can use to recover lost passwords in most used internet browser including Google Chrome, Mozilla Firefox, Opera, Microsoft Edge, Internet Explorer and others.

Asterisk Logger – Nirsoft’s Asterisk Logger can do the same job for you.

Whenever a hidden password is detected in windows, it automatically displays the hidden password.

It is capable to show password for many applications like CuteFTP, VNC, CoffeeCup free FTP, Microsoft Office Outlook, Outlook Express, IncrediMail, and much more.

Password ViewerPassword Viewer by IT Samples is another windows utility to unmask passwords that are hidden under-dots.

Password Viewer not only allows to view passwords in forms but also help to peek passwords on different windows programs.

Both these Asterisks Password Viewer are free of cost and doesn’t require any installation means both these are available in portable version.

The software is available in the zip package.

Just download and unzip the file with the help of any zip unpacker like WinRAR or WinZip.

More Interesting Posts:

Simply run the software and use it to view asterisk passwords.

Remember, any of the software cannot decrypt any Windows encrypted passwords such as Windows login or User Account password.

Forgot administrator password or any other app password?

Download USB password reset tool to recover computer password using a pen drive.

Remember: These tricks can be also used by anyone to hack your own passwords. It’s my personal advice to you to stay alert when your friend or anyone uses your private computer.

Hope this guide to reveal hidden password in internet browser is helping you.

Share your comments below about this trick and don’t forget like & tweet. And, share this post on your social profile.

Continue Reading
Click to comment

Share your Views / Comments / Suggestions ✍