What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Calculator to friends

Pages: (3): « First « 1 [ 2 ] 3 » Last »
Calculator to friends
Author: Message:
mrfireman
Junior Member
**


Posts: 25
Joined: Oct 2008
O.P. RE: Calculator to friends
My problem is: I dont have time, and energy to learn it, I work 12 hours a day. :(

If anyone has time, to write what I need, pls help! Thx
12-18-2008 09:03 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Calculator to friends
I gave you almost everything you need... I am sorry but if someone isn't willing to learn then why should I just give them something... they wont learn at all...

Your original post said you wanted to make a script not have one made for you...
12-18-2008 09:05 PM
Profile E-Mail PM Find Quote Report
Chrono
forum admin
*******

Avatar
;o

Posts: 6023
Reputation: 116
39 / Male / Flag
Joined: Apr 2002
Status: Away
RE: Calculator to friends
not everyone is willing to learn how to code, matty :P
[Image: wdz_discrate.png]
12-18-2008 09:12 PM
Profile PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Calculator to friends
quote:
Originally posted by Chrono
not everyone is willing to learn how to code, matty :P
Well then that should have been specified instead of saying i want to make they should have said i want someone to make me blah blah blah... I dunno just my opinion and I am at work and cannot DL that script anyways lol.
12-18-2008 09:15 PM
Profile E-Mail PM Find Quote Report
mrfireman
Junior Member
**


Posts: 25
Joined: Oct 2008
O.P. RE: Calculator to friends
You are right about the original post, i am looking for someone, who had a little time to write me the script.

This post was edited on 12-18-2008 at 09:59 PM by mrfireman.
12-18-2008 09:22 PM
Profile E-Mail PM Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: Calculator to friends
quote:
Originally posted by matty
All you need to do is code something that would say look for a remote command like !calc then process the equation after using eval(). Simple

Sounds like a remote code execution vulnerability waiting to happen :p
12-19-2008 06:06 AM
Profile PM Web Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: Calculator to friends
quote:
Originally posted by WDZ
Sounds like a remote code execution vulnerability waiting to happen :p
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... :P

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.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
12-19-2008 08:31 AM
Profile E-Mail PM Web Find Quote Report
mrfireman
Junior Member
**


Posts: 25
Joined: Oct 2008
O.P. RE: Calculator to friends
Okey, I am waiting for my man/women to write it, 'cause I am not able to programming :)
Monthes or Years and he/she will come I know... ^^
12-19-2008 10:12 PM
Profile E-Mail PM Find Quote Report
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
RE: RE: Calculator to friends
quote:
Originally posted by Matti
quote:
Originally posted by WDZ
Sounds like a remote code execution vulnerability waiting to happen :p
Very true. What if the user does something like:
code:
!calc new ActiveXObject("WScript.Shell").Run("format c:");


... then nothing would happen since not only can you not format the active system partition, but it would also ask for confirmation.
The previous sentence is false. The following sentence is true.
12-20-2008 05:11 AM
Profile PM Find Quote Report
TheBlasphemer
Senior Member
****

Avatar

Posts: 714
Reputation: 47
37 / – / –
Joined: Mar 2004
RE: Calculator to friends
How about:
!calc while(true);
Nice way to make messenger unresponsive...

Seriously, don't just pass anything to eval after first validating it properly. I'd say make sure the only characters in there are numbers, spaces, and math operators like +,-,* etc.
[Image: theblasp.png]
12-20-2008 09:33 PM
Profile PM Find Quote Report
Pages: (3): « First « 1 [ 2 ] 3 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On