Re:Don't Copy-Paste from Website to Terminal
by TheJH_ on Sunday April 07, 2013 @09:41PM
(#5509557)
Right... for a real attack, you'd have to hide the evil commands near the end of the normal-looking one (the string you see there is truncated). I thought about doing that, but it'd give you a few seconds to react in this example because you'd have the git command run first. Hmm, maybe it'd be doable using backticks or so? Those could be put at the end and would evaluate first anyway...
[ Parent
| on HN ]
There are no comments on this comment yet.