Created
December 8, 2016 15:14
-
-
Save skorotkiewicz/c2133dc3a2391261711d5bebcbb67c6e to your computer and use it in GitHub Desktop.
Reveal password with javascript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Paste into url bar: | |
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 saved passwords in forms on this page.");})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment