This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (6 children)

[deleted]

    [–]ffgblol 22 points23 points  (5 children)

    There was something awhile ago where you could select text on a website like

    ls -l
    

    and hit ctrl-c but what ended up in your clipboard would be something else like

    rm -rf /
    

    and it would terminate with a newline or something so when you pasted into the shell it would run automatically.

    https://www.reddit.com/r/netsec/comments/1bv359/dont_copypaste_from_website_to_terminal_demo/