LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices


Reply
  Search this Thread
Old 04-17-2013, 01:11 AM   #1
LXer
LXer NewsBot
 
Registered: Dec 2005
Posts: 99,782

Rep: Reputation: 102Reputation: 102
LXer: Old tricks are new again: Dangerous copy & paste


Published at LXer:

Copying and pasting something does not necessarily mean the user will get what they think they are getting. With a little bit of HTML magic, one can even trick unwitting web site visitors into executing shell commands without their knowledge. The trick is by no means new, but it is currently being demonstrated again on several web sites which means Linux users especially have to be careful what they copy and paste.

Read More...
 
Old 04-17-2013, 01:42 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289
Lilyterm gives a warning when pasting multi-line text. You can also view the clipboard before pasting.
 
Old 04-17-2013, 04:58 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4859Reputation: 4859Reputation: 4859Reputation: 4859Reputation: 4859Reputation: 4859Reputation: 4859Reputation: 4859Reputation: 4859Reputation: 4859Reputation: 4859
Nice, didn't know that. Sadly Lilyterm does not support showing images with w3mimgdisplay, so changing the terminal to Lilyterm is a no-go for me.

Besides that, any user on any OS should make it clear to himself that before copying any command that he:
a) trusts the website in question
b) understands what the command is doing.
 
Old 04-17-2013, 05:06 AM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289Reputation: 1289
You could copy it to a text document first in case you use other terminal emulators.
 
Old 04-17-2013, 05:10 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4859Reputation: 4859Reputation: 4859Reputation: 4859Reputation: 4859Reputation: 4859Reputation: 4859Reputation: 4859Reputation: 4859Reputation: 4859Reputation: 4859
Right, didn't think about that. Good advice!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PLEASE copy&paste your /etc/X11/xorg.conf file IF you use Intel 965GM &. Balarabay1 Linux - Software 3 10-06-2008 05:33 PM
copy & paste crapodino General 8 08-05-2006 05:54 AM
Copy & Paste Dan Cerimele Linux - General 3 11-26-2003 05:49 PM
Copy & Paste? petercool Linux - Software 9 09-03-2003 08:05 AM
PDF copy & paste dcspyder Linux - Newbie 1 10-29-2002 10:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 01:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration