feat: create optional redirects in burpference scanner #13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes #12
Changes made:
enabled by default 👌
AI-Generated Summary
PR Summary
Overview of Changes
Arr mateys, this be a tale of codin' and sailin' through the treacherous seas of the
burpference/scanner.py. Our crew 'ave made some crafty enhancements and bug fixes, they did. With nary a worry for breakin' things that weren't meant to be tampered with, the hearties introduced a JCheckBox for followin' redirects, restructured how HTTP requests handle these redirects, and improved error handlin'. These changes be aimed at makin' the HTTP request process more flexible and informative, especially when sailin' through the HTTP seas with or without choosin' to follow redirects.Key Modifications
urllib2.build_opener()to manage redirects based on the state of the newly introduced checkbox. This modification allows for a more controlled navigatin' experience through the vast, uncertain waters of the HTTP protocol.urllib2.HTTPErrorexceptions and includin' additional information in thesecurity_infodictionary such as the initial URL, final URL, and whether a redirect occurred.Potential Impact
This summary was generated with ❤️ by rigging