http://www.perlmonks.org?node_id=235499

Update 2004-07-08: PerlmonksCB has been taken offline due to AOL's rate-limiting constantly kicking it offline. Sorry.

I'm very proud to announce the availablity of perlmonkscb, an AIM / CB gateway. Since I've documented it on perlmonk.org, I won't repeat myself... much. All you need to be able to use it is an AIM screenname. Just IM perlmonkscb, and he'll invite you to the chat room. The rest can be gleaned by just sticking around, and following the error messages when you try to talk. Please, however, read the perlmonk.org docs for a warning about security. If you've found a bug, please read the TODO before reporting it, as it may be already known.

Have fun.


Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

Replies are listed 'Best First'.
Re: perlmonkscb: An AIM / CB gateway.
by feanor_269 (Beadle) on Feb 18, 2003 at 17:54 UTC
    This sounds really cool, any chance I can get a copy of the code to poke around in? (I've been tempted to try to write something like this, but too many projects atm...)

    feanor_269

      Sorry, putting the code up slipped my mind. The code is now on the perlmonk site. (At http://theorbtwo.perlmonk.org/perlmonkscb/perlmonkscb.txt, to be exact, but it's linked to from index.html. The code is very ugly, but it does mostly work. I'll probably be rewriting it almost completly in the nearish future.)

      Update: Fixed URL.


      Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

        Internal error #500 comes up when I try to hit the source code.

        feanor_269
        I get a 403 on any of those pages?

        -- zigdon

      How about the page theorbtwo linked to in his post? It's all right there.

      Update: Sorry, I'm hallucinating.

      Makeshifts last the longest.

        Am I blind? I'm just not seeing a link to the bots code on that link...

        feanor_269
Re: perlmonkscb: An AIM / CB gateway.
by markstinson (Novice) on Apr 25, 2007 at 05:34 UTC
    Much time has passed and this may be feasible once again. AOL has information around it Developer site on how to convert/register an account to be recognized as a Bot - and this definitely qualifies. Bots also get many features and different rules than a regular user. oh, and it's free.

    If you desire, you can set up your own private gateway on your own machine. If you wish to get the script (which is no longer available), head over to Archive.org to get a copy:

    http://web.archive.org/web/*/http://theorbtwo.perlmonk.org/perlmonkscb/perlmonkscb.txt

    Later, Markus.

Re: perlmonkscb: An AIM / CB gateway.
by insensate (Hermit) on Mar 12, 2003 at 03:00 UTC
    I love this bot...it makes keeping up with the chatter while at work a lot more practical. However, I've only used it to lurk. If there was a way to authenticate without sending my password through an intermediary I'd be more prone to use it to post to the cb...I'm not implying any bad intentions on theorbtwo's behalf, but given the insecure transmission on the aol toc protocol and the relative ease of logging all text submitted to an aol bot serverside it does present a security risk. Any thoughts on this?

    Jason

      Unfornatly, no, there's not really a way to make this better. The issue is that not only do I need to verify that you're who you say you are, I need to be able to verify that I have authorization to post things to the chatterbox as you to the PM server. That means I need your cookie. I could provide an interface to allow you to provide your cookie directly, rather then your password, but that has several problems. First off, it's not all that easy for many people to find their cookie. Mozilla makes it decently easy, but AFAIK it's the only one. Secondly, it isn't really any more secure. It's just as easy to hijack your PM account with a cookie as with a password, and it's not difficult to get the password out of the cookie. (This can easily be construed as a bug in perlmonks.) I was going to say thirdly, it's more difficult for me to verify, but then I realized that I was wrong.

      BTW, OSCAR isn't any more secure then TOC. In fact, it may be /less/ secure, since running strings on an OSCAR stream will cut out almost all of the noise, leaving only the data you want, whereas it will leave a TOC stream almost unchanged. (The exception to that is your AIM password, but that's not what we're talking about here.)


      Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

      There was talk among pmdev to one day introduce a separate password for users which only authorizes them for the chatterbox. It's not likely to happen anytime soon however, and until then, there's no way short of providing your password to the third party to log in to Perlmonks using external services.

      Makeshifts last the longest.