The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

Accessing websocket messages

Phil | Last updated: May 17, 2023 05:43PM UTC

Is it possible to access websocket messages? I can use proxylistener to get the HTTP request but not the actual websocket messages. If possible are there any basic proof-of-concepts out there in python? TIA.

Hannah, PortSwigger Agent | Last updated: May 18, 2023 02:11PM UTC

Hi You can do this with the new Montoya API. You can find this here: https://portswigger.github.io/burp-extensions-montoya-api/javadoc/burp/api/montoya/websocket/WebSockets.html Unfortunately, Montoya API extensions need to be written in Java rather than Python. You can find our getting started guide for the Montoya API here: https://portswigger.net/burp/documentation/desktop/extensions/creating You can find an example extension for handling WebSockets here: https://github.com/PortSwigger/burp-extensions-montoya-api-examples/tree/main/websockethandler

Phil | Last updated: May 18, 2023 02:53PM UTC