Burp Suite User Forum

Create new post

IContextMenuInvocation - getSelectedMessage of original request / response

ozzi | Last updated: May 05, 2017 11:42AM UTC

Hi I have added a custom context menu item, which reads the selected text of the currently open request / response. So far so good, however in the history view of Burp, when i have three tabs, i can only differentiate between Edited Request and Response. This means if the user has the Original Request Tab open and uses the context menu, the Edited Request text is returned from ihrr.getRequest(). Code which i am referring to: https://github.com/mvetsch/JWT4B/blob/master/src/app/controllers/ContextMenuController.java line 35 - 44. Thanks for your help and regards, ozzi

PortSwigger Agent | Last updated: May 08, 2017 10:33AM UTC

Thanks for this report. We'll investigate this issue and get back to you.

PortSwigger Agent | Last updated: Jun 01, 2017 09:25AM UTC

Having looked into this, part of the issue is that we are limited with the current API, in that there aren't methods on that interface to distinguish between the original and edited requests. We are planning a general revamp of the API, and will look into fixing this at that point.

Burp User | Last updated: Jun 06, 2017 12:02PM UTC

Hi Dafydd Thanks for the feedback, looking forward to the fix / revamp! Cheers

Liam, PortSwigger Agent | Last updated: Jun 07, 2017 07:04AM UTC

This is still logged in our development backlog. Unfortunately, we can't provide an ETA.

Burp User | Last updated: Jul 05, 2019 08:01AM UTC

Hi Dafydd As far as I can tell, 1.7.22 is still the newest release? https://github.com/PortSwigger/burp-extender-api/releases Any input on the revamp? Regards

Burp User | Last updated: Nov 02, 2019 01:52PM UTC

Any news here? Best regards

Liam, PortSwigger Agent | Last updated: Nov 04, 2019 09:07AM UTC

We don't have anything to update. This is still logged in our development backlog.

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.