![]() |
| | #1 |
| and the hat of copycat Join Date: Sep 2007
Posts: 417
| Clipboard hijack The following link hijacks your clipboard.However you can change the content of the clipboard by closing the page. http://garyc.mooo.com:3232/rr/ Normally I have seen websites that are intrusive by opening popups and changing the homepage. But this one has gone one-level up by hijacking the clipboard.(although done to amuse the visitor). I don't have a clue how they do this but I guess it may have something to do with "invisible" flash that loads on that page. Imagine what would happen if the reverse is also possible?(If the contents of the clipboard can be sent to the site on visiting the site.(esp. if you have sensitive info in the clipboard)) Is the internet becoming more insecure these days? Edit: eeks!It does seem to be possible to do the above: http://www.knowledgebase-script.com/...ticle-421.html
__________________ Not everything that can be counted counts, and not everything that counts can be counted - Albert Einstein. No programming language is perfect. There is not even a single best language; there are only languages well suited or perhaps poorly suited for particular purposes. - Herbert Mayer Last edited by stevesmithx; 11-03-2008 at 08:22 AM. |
| stevesmithx is offline | |
| | #2 |
| MENTAL DETECTOR Join Date: Apr 2006 Location: United States
Posts: 3,283
| The preconceived notion that the internet was secure is untrue, particularly because of the people using it as always. In the beginning it was rather amazing it worked and everyone basked in it. Only download content (particularly objects, activex stuff and scripts) from sites that you trust, but misfortune can still happen.
__________________ <Niggawatts> Writing is both mechanical and organic <Niggawatts> It's like a cyborg dragon. <Niggawatts> Writing is like a cyborg dragon. |
| whiteflags is offline | |
| | #3 |
| and the hat of Jobseeking Join Date: Aug 2001 Location: The edge of the known universe
Posts: 21,657
| Firefox + flashblock + noscript [ ] Yes, I'd like to download any piece of content-free crap which has no clear and present use. |
| Salem is offline | |
| | #4 |
| Unregistered User Join Date: Jul 2007
Posts: 981
| Of course, anything that gets more complicated also gets more insecure... Just look at Vista.
__________________ May the Source be with you. |
| Yarin is offline | |
| | #5 |
| Malum in se Join Date: Apr 2007
Posts: 3,188
| or women <duck>...
__________________ Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off. |
| abachler is offline | |
| | #6 |
| Deprecated Join Date: Oct 2004 Location: Canada
Posts: 1,032
| It's not encrypted. Code: function onEnterFrame()
{
System.setClipboard(strings.join("\r\n") + "\r" + "\n" + "\r" + "\n");
} // End of the function
var strings = ["We\'re no strangers to love",
"You know the rules and so do I",
"A full commitment\'s what I\'m thinking of",
"You wouldn\'t get this from any other guy",
"I just wanna tell you how I\'m feeling",
"Gotta make you understand",
"Never gonna give you up",
"Never gonna let you down",
"Never gonna run around and desert you",
"Never gonna make you cry",
"Never gonna say goodbye",
"Never gonna tell a lie and hurt you"];
var pointer = 0;
__________________ Warning: Have doubt in anything I post. GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101 Last edited by Dae; 11-04-2008 at 05:38 PM. |
| Dae is offline | |
| | #7 |
| Banned Join Date: Aug 2001 Location: Visalia, CA, USA
Posts: 3,699
| Only a retard uses MSIE anyway. If you would like I will write an unnecessarily long essay to back up what I just said. I don't care who gets their feelings hurt because their myspace looks bomb on IE. It is true (I also don't care who I injured with that statement either ) |
| master5001 is offline | |
| | #8 |
| Deprecated Join Date: Oct 2004 Location: Canada
Posts: 1,032
| I doubt many programmers use MSIE (Yay!). That includes most of this forum. (Woot!) I found only 30% of my random visitors use MSIE. (Chaching!) MySpacers are definitely big offenders. (WTF!) Edit: Vrooooooom!
__________________ Warning: Have doubt in anything I post. GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101 Last edited by Dae; 11-04-2008 at 07:00 PM. |
| Dae is offline | |
| | #9 |
| Banned Join Date: Aug 2001 Location: Visalia, CA, USA
Posts: 3,699
| I am noticing a big shift towards linux lately. That is definitely a good thing. It is good to see Microsoft's grasp on the industry letting loose. |
| master5001 is offline | |
| | #10 |
| Reverse Engineer Join Date: Aug 2005 Location: Estonia
Posts: 2,258
| It doesn't hijack anything... it just copies stuff to the clipboard with an interval. It's totally safe.
__________________ The duck is irrelevant to my point. |
| maxorator is offline | |
| | #11 | ||
| and the hat of copycat Join Date: Sep 2007
Posts: 417
| Thanks all for your replies. @Salem Thanks for the info about those extensions.Been using firefox for a long time with popular extensions sans the two you mentioned. @DAE Quote:
I thought the code was inside that flash component and NOT part of the javascript. Quote:
anything else on the clipboard.I think that is intrusive and too much of a "functionality" for a web page.I totally agree that it is safe but not when done in the reverse.
__________________ Not everything that can be counted counts, and not everything that counts can be counted - Albert Einstein. No programming language is perfect. There is not even a single best language; there are only languages well suited or perhaps poorly suited for particular purposes. - Herbert Mayer | ||
| stevesmithx is offline | |
| | #12 |
| Jack of many languages Join Date: Nov 2007 Location: Katy, Texas
Posts: 2,070
| IE has a setting to disallow javascript access to the Clipboard.
__________________ Mac and Windows cross platform programmer. Ruby lover. |
| Dino is offline | |
| | #13 |
| Reverse Engineer Join Date: Aug 2005 Location: Estonia
Posts: 2,258
| It's not javascript - it's Flash. @stevesmithx You can't possibly support removing the clipboard functionality from Flash. It is an essential feature. This problem is another one of those "drive people mad with safe little annoying things". The reality is that intrusive sites simply aren't used and lose their market share. Didn't you know you can simply decompile Flash files? And ActionScript's syntax isn't as close to Javascript's syntax as people tend to think.
__________________ The duck is irrelevant to my point. |
| maxorator is offline | |
| | #14 |
| Jack of many languages Join Date: Nov 2007 Location: Katy, Texas
Posts: 2,070
| Well, that explains it - it certainly looked like javascript.
__________________ Mac and Windows cross platform programmer. Ruby lover. |
| Dino is offline | |
| | #15 | |
| Super Moderator Join Date: Sep 2001
Posts: 4,746
| Quote:
I agree with maxorator - in the apps we've made at work we use that feature - and it rounds out the functionality of a webapp quite well. I don't think it's inherently unsafe at all - if people are worried about it, they should by all means block it as mentioned above, but it really can't do any harm to your system. You just shouldn't visit sites if you know they're dumb - that's the only site I've heard of doing that. Lots of websites do things without your permission - if you were to disable all of them, you wouldn't have a very useful internet experience. | |
| sean is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| copying to clipboard | bballzone | Windows Programming | 24 | 09-30-2004 03:24 PM |
| Clipboard and Custom Types | McClamm | C# Programming | 1 | 09-16-2004 04:43 PM |
| Clipboard Modifier | Korhedron | Windows Programming | 2 | 01-03-2004 02:32 PM |
| Manipulating the Windows Clipboard | Johno | Windows Programming | 2 | 10-01-2002 09:37 AM |
| OLE Clipboard :: Win32 API vs. MFC | kuphryn | Windows Programming | 3 | 08-11-2002 05:57 PM |