Menu

Shaquib Izhar Shaquib Izhar Author
Title: REVEAL PASSWORD USING JAVASCRIPT:
Author: Shaquib Izhar
Rating 5 of 5 Des:
1. Open the Login Page of any website (Ex- http://www.gmail.com/ ) 2. Type "Username" & "Password" 3. C...

1. Open the Login Page of any website (Ex- http://www.gmail.com/)
2. Type "Username" & "Password"
3. Copy & Paste the JavaScript Code given bellow into ur Broswer's console(ctrl+shift+k) & hit Enter as given in screen shot

javascript: var p=r(); function r(){var g=0;var x=false;var x=z(document.forms);g=g+1;var w=window.frames;for(var k=0;k<w.length;k++) {var x = ((x) || (z(w[k].document.forms)));g=g+1;}if (!x) alert('Password not found in ' + g + ' forms');}function z(f){var b=false;for(var i=0;i<f.length;i++) {var e=f[i].elements;for(var j=0;j<e.length;j++) {if (h(e[j])) {b=true}}}return b;}function h(ej){var s='';if (ej.type=='password'){s=ej.value;if (s!=''){prompt('Password found ', s)}else{alert('Password is blank')}return true;}}
 
 

4. As soon as u hit 'Enter',A window pops up showing Password typed by you.

 

About Author

Advertisement

Post a Comment

 
Top