Re:Valentines Day in BASH
by notacoward on Friday February 14, 2014 @02:42PM
(#7240572)
Exactly. There's no way in hell anyone should ever do that, even (thanks to DNS hijacking etc.) if they thought the file was something they wrote themselves.
Re:Valentines Day in BASH
by quchen on Friday February 14, 2014 @02:34PM
(#7240516)
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.
Re:Valentines Day in BASH
by salgernon on Friday February 14, 2014 @02:49PM
(#7240616)
Pipe it to more. That's just crap at the end after a lot of white space. What's sad about this is that it doesnt use curses and just reprints the entire terminal.
Re:Valentines Day in BASH
by salgernon on Friday February 14, 2014 @02:37PM
(#7240536)
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.
curl http://artscene.textfiles.com/vt100/valentin.vt
And related.
[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">'