Burp Suite User Forum

Create new post

Setting up environment to build extensions with python

Gal | Last updated: Feb 18, 2023 05:35PM UTC

I want to build an extension for Burp with python. I downloaded Jython and set Pycharm to use it as an interpreter but it doesn't recongnize java or javax when importing them and I can't find a way to get it to work. Can you please direct me to how may I set up an IDE (preferrably Pycharm, but at this point any will do) to work with jython and allow me to conveniently develop extensions?

Hannah, PortSwigger Agent | Last updated: Feb 20, 2023 11:50AM UTC

Hi If you're making a new extension, we'd recommend that you use Java, so that you can make use of our new Montoya API. We have a variety of example extensions to help you get started. You can find them here: https://github.com/PortSwigger/burp-extensions-montoya-api-examples For setting up PyCharm with Python, I found the following guide: https://thecesrom.dev/2020/10/01/configuring-jython-in-pycharm/ Did you follow a similar set of steps to what is described? Do you currently have Java installed on your machine?

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