Burp Suite User Forum

Create new post

Get Http Request including headers and body

sourav | Last updated: Mar 24, 2022 07:31PM UTC

I am creating an extension that has table with http data like url, parameters, http method etc. I want to get the http request for the row select in the table. Similar to proxy history tab that change request and response based on row selected. Any ways to do the same in jython? as request is not Stored in the table i am not sure how to store it and show it in http request editor

Hannah, PortSwigger Agent | Last updated: Mar 25, 2022 08:40AM UTC

Hi You can find a simple example of a logging extension here: https://github.com/PortSwigger/custom-logger/blob/master/python/CustomLogger.py We also have other example extensions that you can use as a base to build your extension off of here: https://portswigger.net/burp/extender Alternatively, all BApp Store extensions have their code publicly available on GitHub, so you can see how they have implemented specific functionality. You can find them here: https://github.com/PortSwigger

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