Skip to main content

command line yahoo messanger

Here's the deal. I want to write a program that capture my Yahoo! Messanger (YM) chat in a text file. Basically, a command line chat program. I could have a listener program, which listens my chat partner's responses, and a writer / talker / sender, which sends my text to YM server.

The idea is a mix of dsniff's msgsnarf and Pidgin's finch. Once I can separate the text, I could do so many things (like write a Tcl/Tk wrapper around them building a new GUI, or send them to a web-based program like Meebo, or ... many intersting things).

Now. I need suggestions.

Should I write it from scratch? (Probably using perl or C. Which perl module should I use? I've been neglecting perl for quite a while. I am rusted. I also notice that there is a libpurple library in C. Should I use that one, instead?)

Or modify existing program(s)? Which one? (I just found out there's a program called ari-yahoo on the *BSD port. It's an old program and uses yahoolib. Is using yahoolib a good approach? Or should I go through the jabber route? Then, use this one: jarl - Perl/Tk jabber client.)

Any pointer is welcome.

Comments

Anonymous said…
how about libpurple [http://developer.pidgin.im/wiki/WhatIsLibpurple] sir?
Anonymous said…
Sir, there is libyahoo in C ready for this purpose. You can check InfoLinux magazine a few months back. The article was written by Noprianto.
Budi Rahardjo said…
I've read the documentation, but to be frankly I don't know if I should go into that route.
Anonymous said…
Good idea,
hm... it will hide from your boss.
thanks for your idea.
Ariya Hidayat said…
I recalled making supersimple & barebone Qt-based YIM client using libyahoo2, it was dead easy and took only a weekend. Give it a try!
Budi Rahardjo said…
I've got a lead from www.ycoderscookbook.com/. A nice and thorough site.

Done with the thing. Basically I wrote a messanger sniffer. Capture the packets with tcpdump or snort, then process them with perl + Net::TcpDumpLog. An interesting little beast.

In the message, there are fields (id) and values, separated by "C0 80". I still don't know exactly what the fields mean though since they use number. I just made guesses. For example, "14" is the message and so on. Do you still remember what those fields mean? (Is there a table somewhere?)
zak said…
net ym modules from cpan
, i am sure its fixable :)

Popular posts from this blog

Himbauan Kepada Hacker & Cracker Indonesia & Malaysia

Kepada Hacker & Cracker Indonesia & Malaysia, Saya mengharapkan anda tidak melakukan penyerangan atau/dan pengrusakan situs-situs Indonesia dan Malaysia. Saya mengerti bahwa akhir-akhir ini beberapa masalah di dunia nyata membuat kita kesal dan marah. Namun kekesalan tersebut sebaiknya tidak dilimpahkan ke dunia maya (cyberspace). Semestinya sebelum melakukan aksi yang berdampak negatif, kita bisa melakukan langkah-langkah positif seperti melakukan dialog (melalui email, mailing list, bulletin board, blog, dan media elektronik lainnya). Kita harus ingat bahwa kita hidup bertetangga dan bersaudara. Yang namanya hidup bertetangga pasti mengalami perbedaan pendapat. Mari kita belajar bertetangga dengan baik. Saya berharap agar kita yang hidup di dunia maya mencontohkan bagaimana kita menyelesaikan permasalahan dengan kepala dingin dan hati yang lapang, sehingga para pemimpin kita di dunia nyata dapat mencontoh penyelesaian damai. Mudah-mudahan mereka dapat lebih arif dan bijaksana

More bad news with Malaysia - Indonesia

I've got more emails and news about bad news between Indonesia and Malaysia. To be exact, there was a news about RELA (not sure what that is) that goes out after Indonesians in Malaysia. There were incidents where they hit Indonesians, rob, and do horrible things. I cannot even write this is my blog. I am so sad and frustrated. What's going on with Malaysia (and Malaysians)? What did we - Indonesian(s) - do to deserve this? I thought there should be less boundary between Indonesia and Malaysia. But ... What's going on there, bro & sis? You know, more Indonesians now feel that they are offended by Malaysians. I can tell you that this bad feeling is increasing. This is a bad publicity towards Malaysia. People are now creating various calling names, such as "Malingsia" (it's a short of "maling" [thief] "siah" [you, Sundanese]), and worse.

Say NO to APJII!

Prolog At the end of 1997, I went back to Indonesia from my studies and work in Canada. The .ID domain management in Indonesia at that time was in a confusing state. Nobody wanted to manage it. Universitas Indonesia (UI) - the original maintainer - was in a fight with APJII (the Association of Indonesian ISP). In the end, IANA gave me a mandate to manage the .ID domain. Since then, I manage the .ID domain with open management. There are problems, but mostly minors. Until recently, when APJII (again) is trying to take over the .ID domain management from my team. Here's a short info to give you a head start. Short summary APJII (the association of ISP in Indonesia) is trying to takeover the .ID domain management in Indonesia. They have tried and will try everything to take over. Long description I've been managing the .ID domain since the end of 1997. At that time, nobody wanted to run the domain management. First of all, a brief description of how we run things. To run the .ID d