Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

IContextMenuInvocation - getSelectedMessage of original request / response

ozzi May 05, 2017 11:42AM UTC


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:
line 35 - 44.

Thanks for your help and regards,

Dafydd Stuttard May 10, 2017 09:55AM UTC Support Center agent

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

Dafydd Stuttard Jun 01, 2017 09:28AM UTC Support Center agent

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.

ozzi Jun 06, 2017 12:02PM UTC
Hi Dafydd

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


Post Your public answer

Your name
Your email address