Burp Suite User Forum

Create new post

Create graphs like Burp Sequencer

Login | Last updated: Jan 16, 2023 04:34PM UTC

Hello, I'm currently trying to draw various graphs (e.g., scatter plots) in my extension. The goal is to have graphs that look somewhat like the graphs from Burp Sequencer. As of now, I haven't found functionalities in the montoya API or other (open source) Burp extensions that create such graphs. I've tried various Java libraries (JavaFX, JFreeChart, Graphics2D, etc.), but the they all seem to be a hassle to implement/use. So, what is the best/recommended way to generate such graphs?

Hannah, PortSwigger Agent | Last updated: Jan 17, 2023 11:21AM UTC

Hi The Montoya API (or legacy Extender API) doesn't have this functionality. You would need to use a library for this or write it yourself. I found the following stack overflow post that may be helpful - it seems like JFreeChart is one of the more popular libraries to use: https://stackoverflow.com/questions/265777/what-is-the-best-open-source-java-charting-library-other-than-jfreechart

Login | Last updated: Jan 20, 2023 10:48AM UTC

Thanks Hannah, after some initial struggles JFreeChart did a wonderful job!

Hannah, PortSwigger Agent | Last updated: Jan 20, 2023 11:25AM UTC

Glad to hear that worked for you!

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