Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to decode websocket message in fiddler?

I record websockets using Fiddler, but messages a encoded. I've attached a screenshot with the example of message to this question.

If there any workaround how to decode it?

Thank you for attention.

ws message

like image 806
Liza N Avatar asked Oct 30 '25 19:10

Liza N


1 Answers

FiddlerScript: Put the following code in OnBeforeRequest function

if (oSession.RequestHeaders.ExistsAndContains ("Sec-WebSocket-Extensions", "permessage-deflate")) {
oSession.RequestHeaders.Remove ( "Sec-WebSocket-Extensions");
}

This problem is caused by header Sec-WebSocket-Extensions: permessage-deflate

Source: https://groups.google.com/forum/#!topic/httpfiddler/zXiHPOprR5s

like image 163
Alexandr Avatar answered Nov 02 '25 03:11

Alexandr