1. 6

Previously: https://lobste.rs/s/rnxo4t/don_t_copy_paste_from_website_terminal

  1.  

  2. 2

    Just fire up gedit as a scratch pad that you have to paste to first, then copy from gedit to the terminal.

    1. 2

      That’s what I do. One can also sanity check the command against the man pages.

    2. 2

      interestingly, fish seems to be unaffected by this exact attack because it doesn’t interpret newlines as “end of command”.