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.
Re:Don't copy-paste commands from webpages – you can get hacked
by tharkun__ on Tuesday January 04, 2022 @11:25AM
(#29796568)
Yes indeed they do not read it at all. Even if you tell them right before the to be copied text to replace the obvious placeholders with the real value needed. And then they complain on slack that 'this thing in the docs doesn't work. Help!'.
Always have them show you exactly what they did. No descriptions of what they did, let them show you. Yes, do ask the obvious 'did you replace the placeholders?' question.
Very common answer: 'What placeholders?'
Like do they just smash ctrl+v//enter super fast? Why would anyone do that