Click here to Skip to main content
Click here to Skip to main content

Solution for hacking through clipboard

, 26 Jul 2006
Rate this:
Please Sign up or sign in to vote.
You can lose secret information when u enjoying internet browsing by yours clipboard. sensitive data (like passwords, credit card numbers, PIN etc.)

Itroduction

Hi, My friends. We do copy various data by ctrl+c or ctrl+insert for pasting elsewhere. This
copied data is stored in clipboard and is accessible from the net by a
combination of Javascripts and ASP.

I want share this information with all codeproject members bcz it is very harmful for users.

This information gethered from sourcrcodeworld forum.

Hacking Case

Just try this:
1) Copy any text by ctrl+c
2) Click the Link:
http://www.sourcecodesworld.com/special/clipboard.asp
3) You will see the text you copied on the Screen which was
accessed by this web page.
Do not keep sensitive data (like passwords, credit card numbers, PIN etc.) in 
the clipboard while surfing the web. It is extremely easy to extract the 
text stored in the clipboard to steal your sensitive information. 

This works for IE and Netscape.

 

Solution

Solution to Clipboard Hack
To avoid Clipboard Hack Problem, do the following:
1- Go to internet options->security. 
2- Press custom level.
3- In the security settings, select disable under Allow paste operations via script.
Now the contents of your clipboard are safe. Smile | :)
and u can continue to enjoy web browsing

Actual Script

The following few lines are the actual agent to stolen the clipboard data of your machine.
<Script Language="JavaScript">
var content = clipboardData.getData("Text");
alert(content);
</Script>

Codeproject Members

please share this kind of information on this forum to protect our data.

enjoy and try to live with pleasure moments............

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

saqib chuadhry
Web Developer
Pakistan Pakistan
Saqib belonges from sahiwal pakistan.Now in these days, he is working as Software Engineer in Cooprative office of Nero Burn at Islamabad Pakistan.
He is famous as GURU of plugins specially in MS office application. His Keen and core experties in C/C++/vc++(STL,ATL,COM), Socket programming, SMTP/ESMTP imlementation with SSL from last three years.
Some things...about nature!
About love: Love is most important ingredient of life like water.
 
He enjoys hot coffee in rainy days.

Comments and Discussions

 
GeneralWTF Pinmember2ASoft26-Jul-06 6:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 26 Jul 2006
Article Copyright 2006 by saqib chuadhry
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid