Skip to content

Fix auxiliary/gather/wp_depicter_sqli_cve_2025_2011 #20382

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Chocapikk
Copy link
Contributor

Fix LocalJumpError by replacing return with next in the create_sqli block.

Previously, using return inside the block caused an “unexpected return” error; now the block cleanly yields error constants or the extracted value.

@Chocapikk Chocapikk changed the title fix: replace return with next in get_sqli_object to prevent LocalJumpError Fix auxiliary/gather/wp_depicter_sqli_cve_2025_2011 Jul 12, 2025
@dledda-r7 dledda-r7 self-assigned this Jul 14, 2025

doc = begin
res.get_json_document
rescue StandardError
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have an example of when this crashed? 👀

It looks like the default implementation should handle json parsing errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants