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

Get Websocket Server IP

Phil | Last updated: May 30, 2023 02:30PM UTC

I'm working on a websocket extension and would like to grab the host/ip and port of the websocket server when a websocket message is received. Looking at the API it looks like this is not possible, but I'm a newb with Java and montoya so if it is possible could someone can point me in the right direction, I'd be grateful. TIA!

Phil | Last updated: May 30, 2023 03:06PM UTC

Figured it out. For others, you can use WebSocketCreatedHandler method and the WebSocketCreated variable to access the websocket upgrade request which contains the needed info.

Dominyque, PortSwigger Agent | Last updated: May 31, 2023 06:32AM UTC