Tip Details Add a Related Tip

Rate as: Positive Negative

Reveal passwords on web forms

On web pages that require you to enter passwords, the passwords are usually shown as a sequence of symbols, usually the asterisk (*). There are many reasons you may want to see the real values in these password fields: the form says your password is wrong and you'd like to know what it thinks the password is, you want to make sure you entered correctly before you submit the form, or some fool typed in their password on a form and left the page up and you want to steal their password. Either way, it'd sure be handy to have a script that shows you these passwords. Well, here's just such a script:

javascript:(function(){var i,j,m,f;m="";f=document.forms;for(j=0; j<f.length; ++j) {for (i=0; i<f[j].length; ++i) {if (f[j][i].type.toLowerCase() == "password") m += f[j][i].value + "\n";}}if (m) alert("Passwords found on this page:\n\n" + m); else alert("No passwords found on this page");})();

Just copy this script as a single line and paste it into the address bar of your browser. With the cursor still in the address bar, hit the Enter key. It will then show the text entered for the password in any password form elements shown on the page.
Rating: 100% positive, 4 total Votes
Categories: web security hack black hat
Added: on Dec 17, 2007 at 1:23 pm
Added By: an anonymous user
Searches: password web form hat hack

Comments on this Tip

Add a Comment
There are no comments for this tip
Your Comment:
(how to format)
Rate This Tip:

Verify Humanity:
Sorry, we know it's annoying, but please enter the characters shown in the image to the left so that we know you're an actual person and not an evil spammer. Thanks.
       

Related Tips

Hack a locked iPhone

55% positive, 2 comments - last added on Aug 30, 2008 at 7:14 am
– Tip added by an anonymous user on Aug 29, 2008 at 7:17 am

Get access to private facebook photos

80% positive, 0 comments
– Tip added by an anonymous user on Feb 24, 2009 at 10:13 am

Read private twitter messages

33% positive, 4 comments - last added on Sep 07, 2009 at 2:07 am
– Tip added by an anonymous user on Oct 25, 2008 at 9:44 pm

Free signed SSL certificates

Categories: security web SSL free
100% positive, 0 comments
– Tip added by an anonymous user on Aug 23, 2008 at 2:38 pm

Enabling right click on web pages

Categories: javascript web security
100% positive, 0 comments
– Tip added by an anonymous user on Jul 19, 2008 at 6:37 am

Disabling UAC in Windows 7

100% positive, 0 comments
– Tip added by an anonymous user on Oct 08, 2009 at 12:48 pm

Download protected images from flickr

100% positive, 0 comments
– Tip added by an anonymous user on Aug 05, 2008 at 3:36 pm

Flash player security

Categories: Flash hack security webcam
50% positive, 0 comments
– Tip added by an anonymous user on Oct 09, 2008 at 1:32 pm

Find the location of a tiny url

Categories: web URL security
100% positive, 0 comments
– Tip added by an anonymous user on Sep 18, 2008 at 11:15 am

Shutdown surveillance on your computer

100% positive, 0 comments
– Tip added by an anonymous user on Aug 07, 2008 at 7:00 am

Encrypting messages

100% positive, 0 comments
– Tip added by an anonymous user on Jul 20, 2008 at 11:31 am

removing private data from an iPhone

Categories: iPhone security hack
100% positive, 0 comments
– Tip added by an anonymous user on Jun 23, 2008 at 12:45 pm

Surfing the web anonymously

Categories: security web anonymous
100% positive, 0 comments
– Tip added by an anonymous user on Jun 12, 2008 at 8:03 am

remove and convert DRM

100% positive, 2 comments - last added on Jan 09, 2009 at 11:56 pm
– Tip added by an anonymous user on Apr 08, 2008 at 8:48 pm

Hacking RFID credit cards

100% positive, 0 comments
– Tip added by an anonymous user on Mar 20, 2008 at 10:11 am

Ignoring secondary security questions on websites

Categories: web security
no ratings, 0 comments
– Tip added by an anonymous user on Mar 03, 2009 at 9:11 am

Security hole in Windows 7

Categories: Windows 7 security hack
no ratings, 0 comments
– Tip added by an anonymous user on Jan 30, 2009 at 4:45 pm

detecting if a user is logged into Twitter

no ratings, 0 comments
– Tip added by an anonymous user on Jan 07, 2009 at 1:08 pm

Free HTTP Sniffer

no ratings, 0 comments
– Tip added by an anonymous user on Sep 29, 2008 at 6:55 am

Demo for Digital Media Converter

no ratings, 1 comment - last added on Apr 08, 2008 at 7:04 am
– Tip added by CrayDeng on Apr 08, 2008 at 4:13 am