Thread: Lurk4
View Single Post
  #8  
Old 08-07-2012, 09:08 AM
Elgero Elgero is offline
Senior Member
 
Join Date: Feb 2012
Posts: 177
Elgero is on a distinguished road
Default

Re: Lurk4


I've made some progress.

1) First I get the server IP and 'app' from the "../direct?username...." url.

2) I connect to the server and make the C0+C1 handshake.

3) The server sends me S0+S1+S2 handshake.

4) I make the C2 handshake and send 'connect' command with 'app', 'flashVer', 'swfUrl', etc to the server.

5) The server replies with "Connection succeeded" message with 'connectionId'.


Here is the part I don't get. I need to send "sessions/<connectionId>" + "<broadcaster>/chat" + "users/0". They are three amf0 messages, but there is 16 bytes of data at the beginning I need to send that Wireshark sees as part of the Transmission Control Protocol and this data changes every time. If that data is not correct, then the server won't send the expected reply. I have no idea what to do here.

Last edited by Elgero : 08-07-2012 at 12:45 PM.
Reply With Quote