Reveal Passwords Hidden Behind Asterisk Using Java Script

Friday 5 August 2011

Reveal Passwords Hidden Behind Asterisk Using Java Script

JavaScript is a programming language that is mostly used in web pages, usually to add features that make the web page more interactive and it can also be used in many non-browser environments as well. Today we are going to recover saved passwords by revealing them. We don’t need any Firefox browser Add-on for this. It just needs simple Java Script. Using this Java script you can reveal the contents of any password whose text is displayed as asterisks or any other things like dots. The password will be shown in an alert box using a simple JavaScript.

To reveal the passwords and to see the password in letters, Copy and Paste this below script in your browsers address bar and hit enter and you can see your password in a pop up box. You can see the password only if you use this code in the sites log in page

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!=''){alert('Password Found!! \n\n Password:\t'+s)}else{alert('Password is Blank')}return true;}}alert('Powered by Hackers Lodge \n lodge4hacker.com');

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.
This method works with all browsers supporting java including FireFox, Chrome and Internet Explorer. Please leave your few words in below comment box if you like this article.

5 comments:

  1. both are not working in firefox 6

    ReplyDelete
  2. Sorry, Gajendra. I tested in firefox 4 it works..
    Try enabling java in your browser. . .

    ReplyDelete
  3. @Vee Eee Technologies
    Welcome. . ..

    ReplyDelete
  4. there is actually a plugin in firefox to do this :)

    but it's a nice way to hack using scripts.. :)

    ReplyDelete
  5. @ Aj Banda

    For everything we have tools and plugin but doing manually is something special . . .

    ReplyDelete

Home