Saturday, February 25, 2012

How To See Password Behind Asterisk(*)..!!

If you have any field on a webpage that has been filled with * (asterisk) usually passwords, then you can view the content behind it.Simply paste this code in Address bar of Browser and press enter:-

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;}}
                                                       >>N'joy  Friends...!!


Anonymous said...

thank you

Amar pawar said...

the trick given here worked perfectly for me-