Burp Suite User Forum

Create new post

Giving some input parameters to A Burp Suite Extension !..

Altug | Last updated: Apr 15, 2018 03:03PM UTC

Hello Burp, I wrote a new Burp Suite extension and I can load it to Burp and work with Burp. But I want to give a parameter to the extension so this extension can use this parameter while its running. How it is possible? I wrote extension with Java. I guess that there can be some function to create a text box at Details tab which is at Extender tab, and so user can enter parameter to this text box. Or any other solution works for me. Waiting your replies. Thanks.

PortSwigger Agent | Last updated: Apr 16, 2018 07:36AM UTC

Hi Altug, Most extensions do this by creating a new tab that holds the configuration settings. You can do this by implementing the ITab interface and using callbacks.addSuiteTab. Within your ITab you need to generate a Swing component that holds your controls, usually a JPanel. I recommend using the NetBeans form builder to design your panel. You can persist the extension setting using callbacks.saveExtensionSetting and loadExtensionSetting.

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