News for hackers. Stuff that matters.
Re:Don't Copy-Paste from Website to Terminal by Achshar on Sunday April 07, 2013 @06:23PM (#5509015)
Select the text and right click to copy. The trick is over when the "search google for 'malicious text' comes up instead of the command in chrome.
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...