quote:
Originally posted by WDZ
Sounds like a remote code execution vulnerability waiting to happen ![:p](images/smilies/msn_tongue.gif)
Very true. What if the user does something like:
code:
!calc new ActiveXObject("WScript.Shell").Run("format c:");
So that's why
Shondoit and me made the
Calculator script some time ago, with a custom algorithm for calculations. Despite the fact that this algorithm isn't perfect, it does simple things fine. It's just that a remote command was never integrated in the script...
What you
could do to add some kind of remote command feature is either modify the script itself and add an OnEvent_ChatWndReceiveMessage function, or make a separate script which parses "!calc" from another user and makes you send "/calc". Simply remember that I'm not planning to work on the script myself for some time, I have other projects these days.