Re:Don't copy-paste commands from webpages – you can get hacked
by Rychard on Tuesday January 04, 2022 @11:46AM
(#29796818)
From the article, emphasis mine:
> Not only do you get a completely different command present on your clipboard, but to make matters worse, it has a newline (or return) character at the end of it.
> This means the above example would execute as soon as it's pasted directly into a Linux terminal.
> Not only do you get a completely different command present on your clipboard, but to make matters worse, it has a newline (or return) character at the end of it.
> This means the above example would execute as soon as it's pasted directly into a Linux terminal.