Hi!
I am receiving data from various third-party sites to my internet browser (Chrome). They use WebSocket. From some suppliers (sites) I see nice JSON formatted data but some sites the data (webSocket payLoad message) is not readable to me (long messy string - you can see it from prictures I attached). Is it possible to extract the human readable data from that long messy string for example with FiddlerScript? I am using Fiddler v4.6.3.
6 Answers, 1 is accepted
Forgot to add header info:
GET /socket.io/?EIO=3&transport=websocket HTTP/1.1
Host: e3-push.kambi.com
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Upgrade: websocket
Origin: https://www.unibet.ee
Sec-WebSocket-Version: 13
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.87 Safari/537.36
Accept-Encoding: gzip, deflate, sdch, br
Accept-Language: en-US,en;q=0.8
Sec-WebSocket-Key: sJsdXM8BY3RqoDaNQKBxYA==
Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
These look like Base64 encoded strings. So getting them back to readable text should be quite easy.
Regards,
Tsviatko Yovtchev
Telerik by Progress
Thank you for andwering. Made quick test with online base64 decoder and result was binary-like data. Are you sure that it is base64 data?
H4sIAAAAAAAAAJWQwWrDMAyG30Vnj8qK5bi55TLYaccySg9u4tJAE0PqrpTgd5/SEujW025Cn9An/dsJElSgTencmrl0unSgoJem1gr2MV6gmiB8hyF9tNJELGzB2qCCeElN7MMZqu0EnUAismidZSOwbQWQYRnch/R5OIRxXkBoyTLqAh8z76NvUhcHf5IzaL0ihAeo+zB2jR/u1zFk9cfBi0Mz/sehV/RqeCNEyLs8W37n4cgseVgF5yaO4TUQptLiEz1KLLLFzL/4q78t9fUYpaw39RfknHc/mCaB+30BAAA=
Binary data is oftentimes Base64 encoded. So, you might have gotten the original data.
Regards,
Tsviatko Yovtchev
Telerik by Progress