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

SQLmap supports clean URLs #51

Merged
merged 19 commits into from
Nov 14, 2023
Merged

SQLmap supports clean URLs #51

merged 19 commits into from
Nov 14, 2023

Conversation

kazet
Copy link
Member

@kazet kazet commented Nov 1, 2023

No description provided.

bulkowy
bulkowy previously approved these changes Nov 2, 2023
karton_sqlmap/karton_sqlmap.py Outdated Show resolved Hide resolved
karton_sqlmap/karton_sqlmap.py Outdated Show resolved Hide resolved
karton_sqlmap/karton_sqlmap.py Outdated Show resolved Hide resolved
karton_sqlmap/karton_sqlmap.py Outdated Show resolved Hide resolved
karton_sqlmap/karton_sqlmap.py Outdated Show resolved Hide resolved
karton_sqlmap/karton_sqlmap.py Show resolved Hide resolved
)

random.shuffle(expanded_urls_with_example_values)
expanded_urls_with_example_values = expanded_urls_with_example_values[
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would like for loop to end if len(expanded_urls) > config_value, no need for it to loop through stuff taht would be truncated anyway

Copy link
Member Author

Choose a reason for hiding this comment

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

but we perform random.shuffle() on that to get a random sample of the urls

without that, we wouldn't consider the urls that appear at the bottom of the page

and this loop is fast, it doesn't perform any server interaction

@kazet kazet merged commit 109bdb6 into main Nov 14, 2023
2 checks passed
@kazet kazet deleted the sqlmap-supports-clean-urls- branch November 14, 2023 10:11
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