雅虎通协议4

Yahoo Messenger Protocol ()(4)

http://libyahoo2.sourceforge.net/

lib yahoo2 - A C library for Yahoo! Messenger
Quick Links
Home
Project Page
Download
Mailing List
NEWS
ChangeLog
CVS Info
CVS Mailing List
Bugs

Documentation
README
Protocol Docs
Getting/Setting YAB

Licence
GNU GPL

Users
Ayttm
Everybuddy
Fire
KYIM
Yahoo pager (BeOS)
Qazoo (Sh arp Zaurus)
Freehoo
Miranda
CenterICQ

Related Projects
JYmsg9
GraphicsMagick
Jasper
J2000

lib yahoo2 version 0.7.5 - 8 Aug 2004 

lib yahoo2 is a C library interface to the new Yahoo! Messenger protocol. It supports almost all current features of the protocol. 

Feature list
Messaging: 
Sending messages (UTF-8 supported) 
Send typing notification 
Buddy list management: 
Add buddies 
Remove buddies 
Change buddy group 
Ignore buddy 
Unignore buddy 
Reject buddy 
Buddy status updates 
Group renaming 
Buddy Search (new in 0.7.3) 
Yahoo Address book support 
Changing Status: 
Regular status messages 
Custom away/non-away status messages 
Conferencing: 
Create new conference 
Join existing conference 
Invite members to join existing conference 
Decline joining a conference 
Leave a conference 
Send message to conference 
Yahoo Chat 
List chatrooms 
Join/leave a chatroom 
Chat :) 
Webcam support 
Support for viewing other people's webcams 
Support for broadcasting webcam images 
File Transfer: 
Send file via Yahoo file transfer server 
Receive files via Yahoo file transfer server 
Receive files directly from another client 
Mail Notification 
Identities 
Activate/Deactivate an identity 
Send messages from a particular identity 
Conferencing with a particular identity 
lib yahoo2 does not yet have support for Voice messages, nor for IMvironments. 

Requires
lib yahoo2 can use glib version 1.2 or version 2 if you have them and want them.

Authors
Philip S Tellis philip . tellis AT gmx . net Maintainer 
Steve McAndrewSmith steve AT finalge . org Code cleanups 
Micha雔 Kamp miksun AT users . sourceforge . net Webcam Support 
Wayne Parrott wayne_p AT pacific . net . au Yahoo Chat 

lib yahoo2 is derivative of the  yahoo module from gaim. The following persons have contributed to gaim: 

Copyright © 1998-1999, Mark Spencer <markster AT marko.net>
          1998-1999, Adam Fritzler <afritz AT marko.net>
          1998-2002, Rob Flynn <rob AT marko.net>
          2000-2002, Eric Warmenhoven <eric AT warmenhoven.org>
          2001-2002, Brian Macke <macke AT strangelove.net>
          2001, Anand Biligiri S <abiligiri AT users.sf.net>
          2001, Valdis Kletnieks
          2002, Sean Egan <bj91704 AT binghamton.edu>
          2002, Toby Gray <toby.gray AT ntlworld.com>

This library also uses code from other libraries, namely:
Portions from libfaim copyright 1998, 1999 Adam Fritzler <afritz AT auk.cx>
Portions of Sylpheed copyright 2000-2002 Hiroyuki Yamamoto <hiro-y AT kcn.ne.jp> 

Thanks also to Rodney Dawes for making the library versioned and introducing me to library versioning and redhat spec files. 

Copyright
lib yahoo2 is Copyright © 2002-2004 Philip S Tellis (philip . tellis At gmx . net). Distribution is under the terms of the GNU General Public Licence. 

Licence
lib yahoo2 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. 

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 

Warranty
This program is distributed in the hope that it will be useful, but WITHOUT ANY WA RRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the Artistic License for more details. 

   Copyright (c) 2002-2004 Philip S Tellis
lib yahoo2 version 0.7.5



Venky's World
Yahoo Messenger Protocol

(UNOFFICIAL DOCUMENTATION)



DISCLAIMER

*************************************************************************************************

The following document is just my interpretation of the  yahoo protocol.it is based on a lot of assumptions all of which might not be right. The new  yahoo protocol is really right up there when it comes to security unlike the previous versions .Also i do not expect people to stop using the original  yahoo messenger and use a simple clone which just about sends and receives messages.Yahoo has added a whole range of features to it's messenger like IM Environments,voice chat and webcam support which are pretty cool and pretty tough to replicate(maybe i'llgive it a shot when i got loads of free time!!!).And finally i expect people who might use this protocol info to not harm anybody by making booters and bombers,that's really an awful waste of technology besides serving no purpose. And last but not the least ,thank  yahoo for providing a nice tool for instant communication

*************************************************************************************************

The basic purpose of writing this document is that people should know what's actually happening when they use the  yahoo messenger and help them in making their own client.There is hardly any if not any documentation available on the internet concerning the YMSG ptotocol . 


The first step involved in any messenger application is logging into the messenger server and then retrieving the friends list..The  yahoo messenger connects to the  yahoo server(cs. yahoo.com) on port 5050.Let us first look at logging into the  yahoo server

We will connect to the  yahoo messenger server scs. yahoo.com on port 5050

As always the most difficult part to figure out in any messenger protocol is the login encryption. 

Now let us start logging into the  yahoo messenger server .We send the following data to the messenger server to start the login process

This is the data sent when viewed through a port monitor


0x0000 00 20 18 8F C8 16 00 50-BA 89 95 6B 08 00 45 00 . . È..Pº‰•k..E.
0x0010 00 4A F7 6A 40 00 80 06-BA 99 C0 A8 01 C1 D8 88 .J÷j@.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值