Here is a small script to get the password of a password column. For example open gmail.com login page. Type the username and password. Don’t click the Sign-in button.
Copy the following javascript to your browser address bar. Then you will find the magic.
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.");})();
Note: So don’t leave your system open after you typed the password …Just use winkey+L before you leave the place.
No comments:
Post a Comment