Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to access DOM structure, not just raw response body itself [FEATURE] #163

Open
nullt3r opened this issue Jan 9, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@nullt3r
Copy link

nullt3r commented Jan 9, 2024

Currently, BChecks allow users to access the raw response body of a web request using response.body. However, it does not allow access to the DOM (Document Object Model) structure of a web page. The DOM is critical to modern web applications because it represents the structure, style, and content of a page, which are dynamically modified by client-side scripts. Without direct access to the DOM, it is difficult to fully understand how a web page behaves in response to various actions or to effectively test for certain types of vulnerabilities, such as cross-site scripting (XSS) based on the DOM.

I would like to get possibility to render the actual DOM and access it via response.dom or similar.

Thanks!

@nullt3r nullt3r added the enhancement New feature or request label Jan 9, 2024
@Hannah-PortSwigger
Copy link
Contributor

Hi

Thank you for the feedback!

We'll raise a feature request for this functionality. However, this is not likely to occur in the near future.

Access to the DOM would require various callbacks from the browser at different stages. We don't currently expose this to extensions, so before this feature could come to BChecks, it would need to be added to our Montoya API.

If there's anything else we can help with, then please let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants