LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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: 128,288

Rep: Reputation: 118Reputation: 118
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: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
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: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
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: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Right, didn't think about that. Good advice!
 
  


Reply



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 06:21 PM.

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
Open Source Consulting | Domain Registration