YMSG protocol support Yahoo Chat, Cookie decoding, etc.
#83
Posted 12 August 2009 - 04:46 PM
#84
Posted 14 August 2009 - 03:05 AM
Supposedly the error is a notification of a session expiration.
(which can display as -1 here if the socket closes before the last packet is processed)
I need to investigate what other clients are sending in the way of ping packets, what intervals they do so at, whether they do it on YMSG16 and 102 etc, and whether they even have any effect on 1014's.
I don't have Yahoo! Messenger installed, but if it actively uses YMSG16 or a similar version of the protocol, it would be nice to have a log of what it sends over long periods on pager and in chat.
If they don't have any effect, the alternative would be to make clients that try to automatically reconnect.
Also, I have many things that require my time at this point, so I might not be able to pay this project as much attention as often as I did before - But I'll make attempts to continue to advance it as I can.
@JackyChan
If you meant using different aliases of the same account for PM's or Chat, I can add this functionality if I get around to it.
If you meant logging in multiple accounts,
I'm not going to add examples relating to multiple accounts on yahoo, simply because that road often leads to things that you wouldn't do in good conscience.
However, I can't stop you from making programs of this nature, even though I don't like it.
@LeHuynhNam
It was an example script, not a full, shiny program.
This post has been edited by crashdemons: 14 August 2009 - 03:31 AM
#85
Posted 20 August 2009 - 10:58 AM
crashdemons, on 14 August 2009 - 03:05 AM, said:
If you meant using different aliases of the same account for PM's or Chat, I can add this functionality if I get around to it.
If you meant logging in multiple accounts,
I'm not going to add examples relating to multiple accounts on yahoo, simply because that road often leads to things that you wouldn't do in good conscience.
However, I can't stop you from making programs of this nature, even though I don't like it.
Yes, thank for reply.
You can add that func for convenient.
I very need to "logging in multiple accounts". Because i need for learn. I'm learning about multiple connection (TCP).
If you can, please send a private message for me about "logging in multiple accounts" or "a example of multiple connection".
Thank you very much.
JackyChan
#87
Posted 07 October 2009 - 11:53 PM
Andreik, on 06 October 2009 - 04:41 AM, said:
I'm not sure I understood your question, however I'll give it a shot.
** If you're asking about retrieving the buddylist from Yahoo a second time:
The BuddyList packet (00F1) is *usually* only sent when you successfully login to yahoo, if I recall correctly.
As far as I know, the only way you can refresh the entire buddylist is by disconnecting and reconnecting.
There were ways of requesting your buddylist, but they were only available on the [now-defunct] older YMSG protocols.
However, you can request the status of all online users on your buddylist by sending packet 000A, you can use _YMSG_Client_BudStatus($sYourUsername) to accomplish this.
** If you're asking about refreshing the seen buddylist for when a buddy notification is received:
The status for buddies can recieved in packet 00F0, but other sometimes packets pertain to buddy notifications also:
Buddy Signs In: packet 0001
Buddy Signs out: packet 0002
Buddy Visible/Invisible: packet 00C5
Buddy Away-state: packet 00C6
Note: these packets have other uses and meanings also, they are not only notification packets.
This post has been edited by crashdemons: 07 October 2009 - 11:55 PM
#88
Posted 03 November 2009 - 10:17 AM
#89
Posted 04 November 2009 - 05:21 AM
ghitzZza, on 03 November 2009 - 04:17 AM, said:
As far as I know, without retrieving your buddylist, you can only get the public "online" and "offline" states for a user.
On the other hand, you can log in to Yahoo Pager with an account that has the user on your buddylist. (with buddy request accepted)
Then you can receive Online, Offline, Away states and Custom away text.
The Chat Client example (not Yahsmosis) does display away states as text when you first log in as an example of the second method. The script is available in the ZIP.
There may be some caveats for doing this in PHP:
- If you are planning on allowing the input of a username to check, there is no nice way to receive away states for unknown/random users. (At least without further abusing the protocol)
- If you are allowing multiple requests, you do not want your script to log into yahoo multiple times within a short timespan, this will result in a temporary login ban.
PS:
Exactly what "class" (course? or class object?) requires you to delve into an officially undocumented service?
If you say "course", I figure either you decided you wanted the capability yourself or that is not the real reason you're asking. :rolleyes:
Edit: missing word
This post has been edited by crashdemons: 04 November 2009 - 05:38 AM
#90
Posted 05 November 2009 - 08:37 PM
I try with packet C1 check invisible status , but it not working
Func _YMSG_Client_c1Request($sAlias,$sToAlias,$iVersion=-1,$iVendor=-1,$hSessionID=-1) ;Header("C1", "1À€" & whofrom & "À€5À€" & Whoto & "À€206À€1À€") Local $sData=_YMSG_FieldCreate(1,$sAlias) $sData&=_YMSG_FieldCreate(5,$sToAlias) $sData&=_YMSG_FieldCreate(206,1) Local $sHeader _YMSG_HeaderCreate($sHeader,$iVersion,$iVendor,StringLen($sData),'00C1',1,$hSessionID) Return $sHeader&$sData EndFunc
this packet is correctly send and is taken this packet by victim yahoo ID , but not receive reply packet to find user is invisible of offline,
for sending C1 packet must use different yahoo login protocol?
Please help me, Thanks.
#91
Posted 05 November 2009 - 10:43 PM
Afshin, on 05 November 2009 - 02:37 PM, said:
this packet is correctly send and is taken this packet by victim yahoo ID , but not receive reply packet to find user is invisible of offline,
for sending C1 packet must use different yahoo login protocol?
Please help me, Thanks.
Sorry,
I've had time to think about it and I've decided that I'm not going to offer any further help that negatively effects others. If you want to make software that violates user's privacy, go somewhere else.
I do know that I made an invisibility scanner script, but that was a mistake.
Furthermore, I am not going to offer any help on the following topics: "Booters", Flooders, Spammers, Bots, and Bugs used to abuse others, or anything abusive really.
I think that discussing any of these topics would be wrong as well as compromise the integrity of this forum - not to mention that Yahoo Chat already has enough of that stuff going around.
I will, however, help with preventative measures against the above topics if possible.
---
Your question both falls under "Bugs to abuse others" and violating their privacy - as what you're asking for is help with a protocol exploit that uncovers whether they're invisible.
I can't keep you from writing your program or even using this YMSGLib, but I'm not going to participate in what you ask.
This post has been edited by crashdemons: 05 November 2009 - 10:51 PM
#92
Posted 06 November 2009 - 09:42 AM
crashdemons, on 05 November 2009 - 10:43 PM, said:
I've had time to think about it and I've decided that I'm not going to offer any further help that negatively effects others. If you want to make software that violates user's privacy, go somewhere else.
I do know that I made an invisibility scanner script, but that was a mistake.
Furthermore, I am not going to offer any help on the following topics: "Booters", Flooders, Spammers, Bots, and Bugs used to abuse others, or anything abusive really.
I think that discussing any of these topics would be wrong as well as compromise the integrity of this forum - not to mention that Yahoo Chat already has enough of that stuff going around.
I will, however, help with preventative measures against the above topics if possible.
---
Your question both falls under "Bugs to abuse others" and violating their privacy - as what you're asking for is help with a protocol exploit that uncovers whether they're invisible.
I can't keep you from writing your program or even using this YMSGLib, but I'm not going to participate in what you ask.
If you don't know anything, please do not respond. You don't force to answer.
#93
Posted 06 November 2009 - 10:26 AM
Quote
Actually an invisible scanner is not malware but you are right, is some common sense, so we should not encourage this but we cannot stop people that want to make that.
#95
Posted 16 November 2009 - 04:20 AM
Information, logs, etc are always welcome.
----------------------
Update: YMSGLib 2.9c
+Added 3 types of ping packets, information is limited on how often these need to be sent.
0012 _YMSG_Client_Ping(...) 008A _YMSG_Client_PagerPing($sAccountName, ...) 00A1 _YMSG_Client_ChatPing($sAlias,$fSendUsername=true, ...)
If the $fSendUsername parameter of _YMSG_Client_ChatPing is True, field 1 is appended with the selected alias also.
Ping information sources:
YahELite forum:
1 (A1 every 30 minutes, 8A every minute, 12 per 5 minutes)
2 (A1 every 5 minutes, 8A every minute, 12 per 5-10 minutes)
Other, 8A every minute, 12 / A1 every 3600 seconds (1 hour).
Timing settings vary by the source.
Update: YMSGLib.INI
~Minor changes to yahoo error code entries.
This post has been edited by crashdemons: 16 November 2009 - 04:40 AM

Sign In
Register
Help

MultiQuote