Giter Club home page Giter Club logo

Comments (15)

elespike avatar elespike commented on August 29, 2024 1

@tzuk-pl, they've identified the issue on their end. The fix will be included in the next release of Burp. 👍

Thanks for your help, @HannahLaw-Portswigger

from burp-cph.

Hannah-PortSwigger avatar Hannah-PortSwigger commented on August 29, 2024 1

We're pleased to announce the release of Burp v2020.4

from burp-cph.

elespike avatar elespike commented on August 29, 2024

Thanks for reporting this! I'll have a closer look this week and push out a new version to BApp soon. =)

from burp-cph.

elespike avatar elespike commented on August 29, 2024

@HannahLaw-Portswigger, is there a workaround for this?

I can't simply remove the parent JScrollPane. I've tried setting horizontal scroll policies and maximum component sizes, all to no avail.

Here are some relevant lines:

from burp-cph.

Hannah-PortSwigger avatar Hannah-PortSwigger commented on August 29, 2024

The new message editor has a scroll pane as part of it. With a scroll pane inside a scroll pane, it causes the infinite scrolling issue.

As far as I'm aware I haven't seen someone fix this yet (as the original extension I opened the issue on still is yet to respond).

If you can't remove the scroll pane instance, you could try changing the message editor to something different instead. Perhaps the ITextEditor (IBurpExtenderCallbacks.createTextEditor)?

Please let me know how you get on.

from burp-cph.

elespike avatar elespike commented on August 29, 2024

@HannahLaw-Portswigger, from what I can tell, the infinite scrolling issue doesn't apply to any JScrollPane, but seems to be a bug with Burp's message editor.

This, for example, works perfectly when the text in the JTextArea overflows in either direction:

        splitpane = JSplitPane()
        splitpane.setLeftComponent(self.param_handl_request_editor.getComponent())
        splitpane.setRightComponent(JScrollPane(JTextArea()))
        derive_param_single_card.add(splitpane, constraints)

In any case, thanks for the suggestion to use an ITextEditor. That will suffice for the purposes of this component.

from burp-cph.

elespike avatar elespike commented on August 29, 2024

Nope, ITextEditor has the same issue. =(

from burp-cph.

Hannah-PortSwigger avatar Hannah-PortSwigger commented on August 29, 2024

Sorry for the late response.

I've had a play around with the original issue linked (mod0burpuploadscanner) and the issue is definitely caused by the instance of JScrollPane (in their case, it was a one-line fix to remove the JScrollPane instance, although it does mess up the rest of their UI).

I've had a quick look at yours, but as you say, you can't just remove the scroll pane instance and have it all still work. Still, I'm very certain that that is what is causing the issue.

Perhaps if you were able to further encapsulate the message editor tabs in another panel that might help?

from burp-cph.

elespike avatar elespike commented on August 29, 2024

Hi, @HannahLaw-Portswigger. Thanks for continuing to look into this.

After some additional tests, I've seen the opposite in my case. That is, it doesn't seem to be a JScrollPane issue for me. I have:

  • Replaced Burp's message editor with a JScrollPane(JTextArea()): no infinite scroll
  • Converted my parent component from a JScrollPane into a JPanel while using Burp's message editor, and the editor keeps growing with every UI update.

I've recorded a short video starting from the same code in the master branch, and demonstrating some tests and their effects (zipped mp4):
burp-cph_issue-46.zip

While I forgot to record your suggestion in the video, I did try encapsulating the message editor in another JPanel, to no avail.

from burp-cph.

Hannah-PortSwigger avatar Hannah-PortSwigger commented on August 29, 2024

Thank you for that information.

Would you be able to email us at [email protected] so that I can raise this as a ticket for further investigation?

from burp-cph.

elespike avatar elespike commented on August 29, 2024

Email sent 👍

from burp-cph.

KwnyPwny avatar KwnyPwny commented on August 29, 2024

I have the infinite scrolling problem in Burp v2020.9 using CPH 3.0.

from burp-cph.

elespike avatar elespike commented on August 29, 2024

@HannahLaw-Portswigger, in addition to the comment above, I've seen the scrolling issue happening again on 2020.12.1, FYI.

To reproduce with burp-cph:

  1. Load the extension and navigate to its CPH Config tab
  2. Create a new configuration tab (click + next to Options)
  3. Click the checkbox labeled "the value I need is dynamic"
  4. Click the Clone button at the top of the pane

from burp-cph.

Hannah-PortSwigger avatar Hannah-PortSwigger commented on August 29, 2024

Hi, could you drop us an email at [email protected] (if you haven't already) so that we have an open ticket for this issue?

Cheers!

from burp-cph.

elespike avatar elespike commented on August 29, 2024

Done, thanks for your help! =)

from burp-cph.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.