[Tabs set to 4] Code = Numeric key used to describe this field Purpose = Content of the data. If unknown, examples are shown in quotes. Used = Service ID's (hex) of packets which feature this field, with postfix '<' for incoming packets and '>' for outgoing. Flags use "1" for true and "0" for false. (?) indicates an educated guess (ie: something which seems logical, but has not actually been proved!) ------------------------------------------------------------------------------ Code Purpose Used ------------------------------------------------------------------------------ 0 yahoo id 01<,06>,54> 1 yahoo id (effective id?) 01<,06>,0f<,18<,54>,57>,83>,84>,86> 2 "1" 54> 3 yahoo id (request maker?) 0f<,55< 4 from (yahoo id) 06<,46<,4b< 5 to (yahoo id) 06<,06>,46<,4b< 6 authentification md5 response 54> 7 friend (target when managing friends) 01<,03<,04<,83>,84>,86> 8 number of online friends (repeat count) 01< 9 number of mail messages 0b< 10 online status 01<,03<,04< 11 "0", "7A200000", "C12DA9F9" 01<,03<,04< 13 misc boolean flag 01<,03<,04<,18<,1c>,4b<,57< 14 message text 06<,06>,46<,4b<,86> 15 Unix timestamp 06<,0f< 16 error message 07<,4b< 17 online friend in chat? (flag) 01<,03<,04< 18 email subject field 0b< 19 custom status message 01<(?),03<,04< 20 URL of file on yahoo 46< : 27 filename 46> 28 file size 46> 29 file transfer - end of packet marker? 46> : 31 "6" 06< 32 "6" 06< : 38 Unix timestamp (expires?) 46< : 42 email from field 0b< 43 email body text 0b< : 47 custom status flag ("0"=away,"1"=back) 01<(?),03<,04< : 49 string literal "TYPING" 4b< 50 conference ownder (yahoo id) 18< : 52 yahoo id, (list of users in conf.?) 18< 53 conference yahoo id, login ?< 54 conference yahoo id, decline ?< 55 conference yahoo id, available (status==2) ?< 56 conference yhaoo id, logoff ?< 57 conference room name 18< 58 conference invite message 18< 59 HTTP cookie 55< 60 only appears occasionally 02< : 63 imvironment name or ";0" 06<,06> 64 "0" 06<,06> 65 group name (target when managing friends) 13>,83>,84> 66 friend status 85< 67 replacement group name 13> : 87 friends/folders list 55< 88 ignored friends list 55< 89 identities list 55< 90 "1" (yahoo mail?) 55< : 93 "86400" 55< 94 authentification salt code (24 chars) 57< : 96 authentification md5crypt response 54> 97 utf8 encode true/false = "0" or "1" 06<,06> : 100 "0" 55< 101 "" 55< 102 "" 55< : 149 base64 style encoded binary 55< 150 base64 style encoded binary 55< 151 base64 style encoded binary 55< : 153 "9" (perhaps protocol version?) 55< ------------------------------------------------------------------------------ Output ------------------------------------------------------------------------------ 0x02 LOGOFF 0x03 ISAWAY 10 : new status [optional extension if custom status] 19 : custom status message text 47 : custom status flag, away/back 0x04 ISBACK 10 : new status (usually AVAILABLE) 0x06 MESSAGE 0 : yahoo id 1 : yahoo id (effective id?) 5 : to (yahoo id) 14 : message text [optional extension] 63 : imvironment name or ";0" 64 : "0" 97 : utf8 encode true/false 0x12 PING 0x54 AUTHRESP 0 : yahoo id 6 : authentification md5 response 96 : authentification md5crypt response 2 : "1" 1 : yahoo id (effective id?) 0x57 AUTH 1 : yahoo id 0x83 ADDBUDDY 1 : yahoo id 7 : friend (target when managing friends) 65 : group (target when managing friends) 0x84 REMBUDDY 1 : yahoo id 7 : friend (target when managing friends) 65 : group (target when managing friends) 0x86 REJECTCONTACT 1 : yahoo id 7 : friend (target when managing friends) 14 : message text typing 5 : to (yahoo id) 4 : from (yahoo id) 14 : message text, always " " 13 : typing on/off = 1/0 49 : string iteral, always "TYPING" filetransfer 0 : yahoo id 5 : to (yahoo id) 14 : message text 27 : name 28 ; size grouprename 1 : yahoo id 65 : old group name 67 : new group name CONFADDINVITE 1 : yahoo id 51 : to (yahoo id) 57 : room 58 : invite message text 13 : flag "0" 0x96 CHATINTRO 109 : yahoo id 1 : yahoo id 6 : string literal "abcde" 0x98 CHATLOGON 1 : yahoo id 104 : room name 129 : room code 62 : "2" ------------------------------------------------------------------------------ Input ------------------------------------------------------------------------------ 0x01 LOGON 0 : yahoo id 1 : yahoo id (effective id?) [may be missing] [optional extension] 8 : number of online friends (repeat count) [may be missing] 7 : friend (yahoo id) --+ 10 : online friend state | 11 : "0" "7A20000 | Repeats (see "8" above) 17 : online friend in chat flag? | 13 : online friend in pager flag? --+ Note: keys 19 and 47 may also appear in some friends data (see ISAWAY/ ISBACK) although this has yet to be obversed in the wild!) 0x02 LOGOFF 0x03 ISAWAY Format 1 : when applied to us (error?) Format 2 : when applied to a friend 7 : friend (yahoo id) 10 : online friend state 19 : [optional] custom status message 47 : [optional] custom status flag ("0"=away,"1"=back) 11 : "7A200000" 17 : online friend in chat flag? 13 : online friend in pager flag? 0x04 ISBACK Format 1 : when applied to us (error?) Format 2 : when applied to a friend 7 : friend (yahoo id) 10 : online friend state 19 : [optional] custom status message 47 : [optional] custom status flag ("0"=away,"1"=back) 11 : "7A200000" 17 : online friend in chat flag? 13 : online friend in pager flag? 0x06 MESSAGE Format 1 : (status = 0x00000001) Online message 5 : to (yahoo id) 4 : from (yahoo id) 14 : message text [optional extension] 63 : imvironment name or ";0" 64 : "0" 97 : utf8 encode true/false Format 2 : (status = 0x00000005) Offline message(s) 31 : "6" --+ 32 : "6" | 5 : to (yahoo id) | 4 : from (yahoo id) | Repeat for each message 15 : Unix timestamp | 14 : message text | 97 : "1" --+ Also MESSAGE GAMEMSG SYSMESSAGE <1or4=from,97=utf8_user_or_sys_message,14or16=message, 0x0b NEWMAIL 9 : number of new mails [optional extension] 43 : email from field 42 : email body text 18 : email subject field 0x0f NEWCONTACT Format 1 : (after adding/removing a friend when the operation isn't redundant) Format 2 : (when another user adds you to their list) 1 : yahoo id (effective id?) 3 : yahoo id (request maker) 14 : message text [optional extension: if you were offline when the request was sent] 15 : Unix timestamp <10=state,13=online,47=away> 0x18 CONFINVITE 1 : yahoo id (effective id?) 57 : conference room name 50 : conference owner (yahoo id) 52 : yahoo id, (list of users in conf.?) 58 : conference invite message 13 : flag "0" 0x46 FILETRANSFER 5 : to (yahoo id) 4 : from (yahoo id) 20 : URL of file on yahoo 38 : Unix timestamp (expires?) 14 : message text Also FILETRANSFER P2PFILEXFER <27=filename,28=filesize,49=service> 0x4b NOTIFY 5 : to (yahoo id) 4 : from (yahoo id) 14 : message text 13 : state "1=on" 16 : 49 : notification type "TYPING" 0x57 AUTH 1 : yahoo id 94 : authentification salt code (24 chars) 13 : "0" 0x55 LIST 87 : friends/folders list 88 : ignored friends list 89 : identities list 59 : HTTP cookie Y 59 : HTTP cookie T 59 : HTTP cookie C 153 : "9" (perhaps protocol version?) 90 : "1" (yahoo mail?) 3 : yahoo id 100 : "0" 101 : "" 102 : "" 93 : "86400" 149 : base64 style encoded binary 150 : base64 style encoded binary 151 : base64 style encoded binary Also CONFINVITE CONFADDINVITE CONFDECLINE CONFLOGON CONFLOGOFF CONFMSG process_conference <50=host,52=members_list,53=who(logon),54=who(decline),55=who (unavailable status==2),56=who(logoff),57=room,58=join_message, 14=decline_mesg,16=error_mesg,1=id,3=sender,97=utf8 process_contact <1=id,3=who,14=mesg,7=name,10=state,15=tm,13=online,47=away> process_addbuddy <1=me,7=who,65=where,66=status> process_buddydel <1=me,7=who,65=where,66=unk_66> process_ignore <0=who,1=me,13=1/0...ignore/unignore,66=status> status 0 ok 2 already in ignore list, could not add 3 not in ignore list, could not delete 12 is a buddy, could not add process_voicechat <4=who,5=me,13=voice_room,57=room>