from Hacker News

Valentines Day in BASH

by srajbr on 2/14/14, 7:14 PM with 7 comments

  • by kylek on 2/14/14, 7:34 PM

    Can we please not tell people to pipe things directly from curl to bash?
  • by quchen on 2/14/14, 7:34 PM

    Don't we have a bit too much of a history with clicking/doing things on the internet with "love" in their names? Happy Friday by DigitalOcean, where trusting random people on the internets is company policy.
  • by ryutin on 2/14/14, 7:37 PM

    no love for my mac :-(

    [Fri Feb 14 14:35:37] -bash:~$ curl -s valentines.digitalocean.com | bash

    bash: line 1: syntax error near unexpected token `newline'

    bash: line 1: `<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">'

  • by salgernon on 2/14/14, 7:37 PM

    Why could't this just be a text file with curses escapes available via netcat? At least then it's limited only to known terminal exploits, rather than running whatever the hell it wants as you.