This repository was archived by the owner on Apr 26, 2026. It is now read-only.
Description Hello! I'm doing web socket reverse engineering too, ran into a problem, I'm doing the same as you:
I connect to the web socket
I get "0 sid..."
Send "40" in response
Receive message "40 sid..."
I reply with "42 auth session"
I get "41" in reply
async def process_message (message , websocket ):
print (message )
if message .startswith ('0{"sid":"' ):
message = message .lstrip ("0" )
data = json .loads (message )
print ("got 0 sid send 40 " )
await websocket .send ("40" )
elif message == "2" :
print ("got 2 send 3" )
await websocket .send ("3" )
elif message .startswith ('40{"sid":"' ):
print ("got 40 sid send session" )
data = r"""42["auth",{"session":"a:4:{s:10:"session_id";s:32:"c53eec05c6f8a8be2d134d4fd55266f8";s:10:"ip_address";s:14:"46.138.176.190";s:10:"user_agent";s:101:"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36";s:13:"last_activity";i:1707850603;}9f383935faff5a86bc1658bbde8c61e7","isDemo":1,"uid":72038016,"platform":3}]"""
await websocket .send (data )
I don't understand what this is about, could you please advise me?
Reactions are currently unavailable
Hello! I'm doing web socket reverse engineering too, ran into a problem, I'm doing the same as you:
I don't understand what this is about, could you please advise me?
