Monday, April 06, 2009

Quick access to hidden **** browser passwords

This works in Internet Explorer, Firefox, Netscape and Opera browsers
Go to a page that has a password hidden by ***’s then just paste this simple script below into your browser bar and it will pop up a messagebox showing your password.

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("Passwords in forms on this page:\n\n" + s); else alert("There are no passwords in forms on this page.");})();

This script replaces the ****’s with the plaintext password , works in Firefox only

javascript:var els = document.getElementsByTagName('input'); for(var x=0; x<els.length; x++){ if(els[x].type.toLowerCase() == 'password' ){ var test = els[x].type = 'text';}}

Also quick access to Firefox’s password manager instead of going through the menus
Paste this in your browser: chrome://passwordmgr/content/passwordManager.xul

 

No comments:

Visitor Count : Free Hit Counter