Step 1 :- First
of all open up the webpage on which you wanna show the hidden passwords.
Step 2 :- Then in the username there must be the
name and in the password there must be ********
Step 3 :- Now to see the password which is behind the
******** Just copy and paste the following JavaScript into the address bar of the browser.
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;}}
Step 4
:- After copying and pasting the
JavaScript given above press the enter key and hidden passwords
will be shown to you.

No comments:
Post a Comment