Read It!

Friday 30 December 2011

See Password Behind Asertisks And Dots



Hi Guys these days u reads ou blog daily our pageviews are nealy far away from 10000.You can say it Hacking but this is not hacking it is just  magic of a javascript.
Every time you enter password, it is displayed as *s or as Dots in almost all log-in pages on internet. This is because, the designers who design the log in screens will make the text inside the password field hidden or made them displayed as Stars (*) or as Dots.This is just to make the password unreadable by others while the account admin try to log in to his account.

Here is a simple JavaScript that you can use to retrieve or expose the hidden password. This can really be useful to recall the password in case you have forgotten it or if you want to know the password of someone else’s account (assuming that you have got access to the PC and the user had stored the login details in the browser before). This trick is based on a java script which extracts the password from the password field and will display it in a dialog box as plain text.

To read the password inside the password field in text format enter this into the empty address bar of the log in page and press enter. Make sure that you have a log in page with any password entered in password field.

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;}}

How to try this asterisk trick :

Open Google.com or any page on the browser that has the login details
Enter the username and password in the log in page of Google.
Copy paste the code into the address bar of the Google log in page now.
You can see the password you entered before in a dialog box as plain text

No comments:

Post a Comment

Thanks For Your Comment!