Re:Show HN: Rubystub.com Run/Save Ruby Online
by thejew on Friday December 12, 2014 @10:34AM
(#8740551)
You can safely use that as the Ruby is run in a limited contained env. Feel free to run `rm -rf` too
[ Parent
| on HN ]
Re:Show HN: Rubystub.com Run/Save Ruby Online
by alfiedotwtf on Friday December 12, 2014 @10:36AM
(#8740569)
I don't think you're going to be happy when somebody uses you to launch a DDOS:
system("ping -c 2 8.8.8.8");
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=55 time=1.98 ms
64 bytes from 8.8.8.8: icmp_req=2 ttl=55 time=1.75 ms
Re:Show HN: Rubystub.com Run/Save Ruby Online
by vidarh on Friday December 12, 2014 @10:52AM
(#8740701)
Unless he's running this in an incredibly powerful machine on an incredible well connected network, nobody will be DOS'ing anyone worse from that machine than they could do by spinning up a single VM somewhere.
Re:Show HN: Rubystub.com Run/Save Ruby Online
by alfiedotwtf on Friday December 12, 2014 @11:00AM
(#8740769)
When it comes to netsec, any hole's a goal.
And as rikkus pointed out, there's no timeout on runs too. This is just asking for trouble.