Harper Reed's Blog

Harper Reed's Blog

Musing from a normal person doing normal things

09 Feb 2006

Campfire perl bot hack

Please note: This post was written some time ago (18 years ago). My perspectives, knowledge, and opinions may have evolved significantly since then. While the content might still offer valuable insights, I encourage readers to consider it in the context of its publication date.

So i was playing around with campfire and i noticed that i could easy write a bot for it. so i did. it sucks. but it shows what you could do. how i love www mechanize. and perl. check it out:

https://web.archive.org/web/20030814003134/http://www.nata2.info//?path=code%2Fcampfire_bot_hack

Oh yea. campfire is sweet. the 37signals guys did a great job. although i am a bit worried about how you can spoof the message post url in a tinurl and make anyone who clicks on it say whatever you want them to say ;) but that is naturally a weakness in a webchat.. especially with ajax.

here is the speak url;

/room/44/speak?message=message+here

if someone goes to that while in room 44 they will say “message here”

heh.