News for hackers. Stuff that matters.
Re:Don't Copy-Paste from Website to Terminal by mistofvongola on Sunday April 07, 2013 @05:07PM (#5508770)
This is another reason I always type a '#' before copy/pasting any long commands. The main reason is that I sometimes want to edit a long copied command and sometimes a newline get caught in my 'copy'. The '#' prevents it from accidentally executing.
Re:Don't Copy-Paste from Website to Terminal by Aga on Sunday April 07, 2013 @06:07PM (#5508975)
As explained above, this will help only against the first line of the attack (until the first newline character). The subsequent lines will be executed.

A better solution would be to paste the text in to an editor.

Re:Don't Copy-Paste from Website to Terminal by dmourati on Sunday April 07, 2013 @06:17PM (#5509000)
the pound trick is the sign of a true professional