PortSwigger / burp-extensions-montoya-api

Burp Extensions Api
Other
125 stars 3 forks source link

request/response editor in dialog, Burp will break #81

Closed ody5sey closed 10 months ago

ody5sey commented 10 months ago
  1. 源码 `package burp.api.montoya;

import burp.api.montoya.http.handler.*; import burp.api.montoya.ui.UserInterface; import burp.api.montoya.ui.editor.HttpRequestEditor; import burp.api.montoya.ui.editor.HttpResponseEditor;

import javax.swing.; import java.awt.;

public class RepeaterTest implements BurpExtension, HttpHandler { /**

} `

  1. compile jar and burp load
  2. refresh browser 6-10 Burp will break, In old api You will not found this bug.
Hannah-PortSwigger commented 10 months ago

Hi

Could you provide some more details on how Burp is breaking?

When you say this doesn't happen with the old API, could you please provide some more information?

Additionally, you don't need to try and find the Burp frame in the same way any more - you can just use api.userInterface().swingUtils().suiteFrame()

ody5sey commented 10 months ago

image

In new api, browser will refresh, burp frame will not response, only kill from Windows OS taskmanager

Hannah-PortSwigger commented 10 months ago

Hi

Are you using Windows 10 or 11? I've tried replicating this on MacOS, but have not experienced any issues when using your provided code.

ody5sey commented 10 months ago

Win11

Hannah-PortSwigger commented 10 months ago

I've not been able to replicate this behavior on Windows 11.

Could you drop us an email at support@portsigger.net with a screen recording of the issue and the JAR file for your extension? I can also send you a copy of the JAR we've built so you can see if that continues to have the same issue.

I have found when using your extension that the frames created by your extension stay at the front of the screen and won't go behind other applications that have the focus.