Re:Don't copy paste from a website to a terminal
by cortesoft on Thursday November 12, 2015 @01:40PM
(#10555174)
or copy them to a text editor first?
[ Parent
| on HN ]
Re:Don't copy paste from a website to a terminal
by jeffdavis on Thursday November 12, 2015 @01:59PM
(#10555308)
Is that safe? (Legitimate question)
Re:Don't copy paste from a website to a terminal
by keithgabryelski on Thursday November 12, 2015 @02:40PM
(#10555556)
one can target specific editors...
for instance, if I know you are using VI I can create a series of characters that will escape out of insert mode and run a shell command (note: ^[ is ESC (ascii 27))
git status
^[
:!echo foo