UWCS / choob

Compsoc's Highly Over-engineered Object-oriented Bot
http://choob.uwcs.co.uk/
GNU Lesser General Public License v2.1
17 stars 6 forks source link

!web.getandselect runs Javascript, including infinite loops #397

Closed FauxFaux closed 12 years ago

FauxFaux commented 13 years ago
!web.getandselect http://faux.uwcs.co.uk/bang.html //*

... causes a thread to eat a core indefinitely.

Probably don't need to run scripts at all? Might be useful if it supports some kind of trivial sandboxing / timeouts (of, say, a second)?

FauxFaux commented 12 years ago
07/19:06:45 <~Faux> !web.getandselect http://faux.uwcs.co.uk/bang.html //*
07/19:06:48 < BadgerBOT> Faux:  hi while (true) ; there

Close enough.