Read out a password with a javascript code

Hello guys,

I am going to show you in a short tutorial how to read out a password of a web browser.

Example:

http://paypal.com

Username: mayanksmansion.tk
Password: **********

/ Hey! What's my password? (have no clue what could it be...Blush)


Alright, now you could read out the ******-stuff with a simple javascript code.


Code:


javascript:(function(){var s,F,j,f,i; s = ""; F = document.forms; for(j=0; j.type.toLowerCase() == "password") s += f.value + "\n"; } } if (s) alert("Mayank Hacked The Passwords in on this page:\n\n" + s); else alert("There are no passwords in forms on this page.");})();


Hope it helps someone.



Enjoy...
Category: 0 comments

0 comments:

Post a Comment

Copyright ©

Creative Commons License
http://www.mayanksmansion.tk is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License

Protected by Copyscape Online Plagiarism Test

Copyright © 2011 Mayank Sharma. Powered by Blogger.