Closed tsc-awardle closed 2 years ago
Thanks for this and the PR, I will have a look. I was using the latest early bird version but this issue is definitely only in this stable release :'( I thought I had fixed it in my previous releases but now I have a weird feeling that my local repo is not synced with the latest version. I will have a look now 👍
I think this is going to be an embarrassing one if I had patched this but never released it :(( your fix is quite future proof though except when you are looking for Burp Suite
So this is v2.1 that I was using locally, but guess what? even that has the issue so your fix will definitely be useful, I will have to close the PR but integrate into my new version though. I will give you the credit in the release notes if that's ok.
Yes, that is ok.
I agree that searching by the window title is a bit hacky. There's probably a more elegant solution, but I didn't see one right away.
It seems the extension is broken in Burp v2022.9.5.
The stack trace shows an exception from the unload function, but the real issue is actually here https://github.com/mdsecresearch/BurpSuiteSharpener/blob/21be7984042b18354312b2669f3ac9c19373e20d/src/main/java/com/irsdl/burp/generic/BurpExtensionSharedParameters.java#L229
For some reason, the
dummyPanel
is no longer attached to a parent, soSwingUtilities.getWindowAncestor
is returning null.Working on a PR now.