Reveal Hidden Asterisk Browser Passwords via JavaScript Injection

0
619
asterisk password

While entering a password on any login webpage, 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 original password.

There is a feature in every web browser to save login details for future auto logins. Next time, whenever an user open 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 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 asterisk 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 that is hidden behind asterisk characters.

asterisk password
This JavaScript code is tested in Chrome, IE and firefox.

There are many freeware software available online to show asterisk 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 that are hidden behind the asterisk / stars (****) in any internet browser, follow the below steps.

  • Open that login webpage where the password is already saved in the browser (ex- http://mail.yahoo.com).
  • Login input fields will be pre-filled automatically. 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 hidden behind the asterisk characters.

You can also use inspect element tool to unhide the saved asterisk 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 allow you to view passwords in form input fields but also help you to peek the passwords on different windows programs.

Both these Asterisks Password Viewer are free of cost and doesn’t required any installation means both these are available in portable version. Software will be downloaded as a zip package and you will be needed to unzip the file with the help of any zip unpacker like WinRAR or WinZip.

Simply run the software and use it to to view asterisk passwords. Remember that any of these software will not be able to decrypt any Windows encrypted passwords like Windows logon password or User Account Control password.

Forgot administrator password or any other app password? Download USB password reset tool to recover computer password using pendrive.

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 use your private computer.

Hope this guide to reveal or view hidden saved asterisk password in internet browser is helping you. Share your comments below about this trick and don’t forget to like, tweet and share the post on social sites.

Share your Views / Comments / Suggestions ✍