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)
[ Parent
| on HN ]
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