How can we decode socket.io (nodejs) flows?


#1

I would like to capture and decode socket.io based messaging between nodeJS server and web browser.

Although I can see the post and get flows on mitmproxy; I see nothing related with the parameters / messages in the flow details…

Is it related with my lack of experience or mitmproxy cannot decode the actual messages within socket.io?


#2

We currently don’t support displaying websocket flows. https://github.com/mitmproxy/mitmproxy/issues/1020
But you can see the messages in the event log, on git-master.
Change log verbosity to “debug” if you want to see complete messages. E for event log.