Skip to content

Instantly share code, notes, and snippets.

@mexitek
Created March 30, 2011 19:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mexitek/895120 to your computer and use it in GitHub Desktop.
Save mexitek/895120 to your computer and use it in GitHub Desktop.
Reveals any passwords that are masked behind bullets on any password field. Copy/Paste this code into a new BOOKMARK in your browser
javascript:
var s='',f = document.getElementsByTagName('input');
for(var i=0;i<f.length;i++){
if(f[i].type.toLowerCase()=='password' && f[i].value)
{s+='found: '+f[i].value+' \n';}
}
s=(s)?s+'\nThat\'s All Folks!':'No Passwords Found';
alert(s);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment