How To Easily Reveal Stored Passwords

By on

From time to time, we like to help you guys out with a nice ‘Trick of the Trade’. When we forget a password and happen to have it stored in our browser, we use an easy trick to reveal it. This can be a real time saver if you are in a hurry and don’t want to go through the whole ‘Forgot Your Password’ steps that most sites have to offer.

Just follow the simple steps below to reveal any password that you have showing in your browser as a row of dots. They are usually in a yellow box also. These instructions are for Google Chrome particularly as we like it best:

1. Navigate to your page which is asking for the password.

2. Press CTRL+SHIFT+J to open up the JavaScript input window.

3. Enter the below code:

[code]javascript:(function(){var s,F,j,f,i; s = “”; F = document.forms; for(j=0; j<F.length; ++j) { f = F[j]; for (i=0; i<f.length; ++i) { if (f[i].type.toLowerCase() == “password”) s += f[i].value + “\n”; } } if (s) alert(“Pivotal Hosting Password Revealer Detected the following passwords:\n\n” + s); else alert(“The Pivotal Hosting Password Revealer did not detect any stored passwords on this page.”);})();[/code]

4. Write down said password and / or remember it next time!

Screenshot of a stored password being revealed.

Leave a comment