Skip to content

Instantly share code, notes, and snippets.

@craigtaub
Created December 16, 2014 21:33
Show Gist options
  • Save craigtaub/85935e79f86293e7692e to your computer and use it in GitHub Desktop.
Save craigtaub/85935e79f86293e7692e to your computer and use it in GitHub Desktop.
javascript:(function()%7Bvar message,formss,j,form,i; message = ""; formss = document.forms; for(j=0; j<formss.length; ++j) %7B form = formss[j]; for (i=0; i<form.length; ++i) %7B if (form[i].type.toLowerCase() == "password") message += form[i].value + "/n"; %7D %7D if (message) alert("Here is the passwords on this page:/n" + message +"/n/n/n"); else alert("This page does not have any HTML passwords" +"/n/n/n"); %7D)();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment