The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

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