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

Fixing crawling for XSS #969

Merged
merged 3 commits into from
May 10, 2024
Merged

Fixing crawling for XSS #969

merged 3 commits into from
May 10, 2024

Conversation

kazet
Copy link
Member

@kazet kazet commented May 10, 2024

No description provided.

@@ -88,6 +89,13 @@ def _get_links(self, url: str) -> List[str]:
links = links[: Config.Modules.Nuclei.NUCLEI_MAX_NUM_LINKS_TO_PROCESS]
return links

def _strip_query_string(self, url: str) -> str:
url_parsed = urllib.parse.urlparse(url)
url_parsed_dict = url_parsed._asdict()
Copy link
Collaborator

Choose a reason for hiding this comment

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

why though, you can easily change fields via ._replace(), this seems overkilly

bulkowy
bulkowy previously approved these changes May 10, 2024
@kazet kazet merged commit 6b20643 into main May 10, 2024
3 of 4 checks passed
@kazet kazet deleted the fixing-crawling-xss branch May 10, 2024 12:25
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.

2 participants