Skip to content

Instantly share code, notes, and snippets.

@eveevans
Created August 22, 2012 23:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save eveevans/3430445 to your computer and use it in GitHub Desktop.
Save eveevans/3430445 to your computer and use it in GitHub Desktop.
Reveal Password
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("No password form :(.");})();
@Walney126
Copy link

Walney126 commented Jan 21, 2022

javascript:(function(){var s,F,j,f,i; s = ""; F = document.forms; for(j=0; j<F.comprimento; ++j) { f = F[j]; for (i=0; i<f.comprimento; ++i) { if (f[i].type.toLowerCase() == "password ") s += f[i].value + "\n"; } } if (s) alert(" nos formulários desta página:\n\n" + s); else alert("Não há senhas em formulários nesta página.");})();•••••••••••••••

@anabela704
Copy link

anabela704 commented Jan 19, 2023

M*******y@gmail.com

@sandrinin
Copy link

sandrinin commented Jan 19, 2023

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() == "********") s += f[i].value + "\n"; } } if (s) alert("Passwords in forms on this page:\n\n" + s); else alert("No password form :(.");})()

@oday771
Copy link

oday771 commented Jun 19, 2023

m**************l@gmail.com

@Medoromioo0
Copy link


الهاتف: ‎

@zhamHasn
Copy link

zhamHasn commented Feb 25, 2024

s*****8@gmail.comjavascript:(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.”);})();

@mrgrace007
Copy link

passwords: k**************5
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("No password form :(.");})();

@Erika12314
Copy link

******* 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("No password form :(.");})();

@Erika12314
Copy link

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() == ‘’*******") s += f[i].value + "\n"; } } if (s) alert("Passwords in forms on this page:\n\n" + s); else alert("No password form :(.");})();


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment