Share Pastebin
Guest
Public paste!

JavaScript

By: a guest | Nov 23rd, 2007 | Syntax: None | Size: 0.32 KB | Hits: 261 | Expires: Never
Copy text to clipboard
  1. 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.");})();