It's always been known that this was insecure, but I didn't realize just how insecure it was. There are some systems that are woefully insecure, like KDE's KWallet, which has no mechanism to tell which program is requesting a password. Once you open the wallet and decrypt with your master password, a simple dcop command from the command line can get any and all password. But these web browser password databases are supposed to be a little more secure, right?
Anyway, here's the javascript. Just put this in your address bar on a site with password fields.
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';}}
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';
}
}
Here's the article it comes from.
http://blogs.techrepublic.com.com/security/?p=2156
And here's a tinyurl you can use in a pinch. I made it easy to remember.
http://tinyurl.com/passpwn
Happy passpwning!
















