-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Source code cleaning #12
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Diff of diff --git a/tests-history/bup-payloads-2022-09-24.lst b/tests-history/bup-payloads-2022-10-04.lst
index 658d8c6..000cb1a 100644
--- a/tests-history/bup-payloads-2022-09-24.lst
+++ b/tests-history/bup-payloads-2022-10-04.lst
@@ -142,8 +142,8 @@ Bypasser has generated 3044 payloads for 'http://127.0.0.1:8000/foo/bar' url:
[end_paths] http://127.0.0.1:8000/foo/bar/true/
[end_paths] http://127.0.0.1:8000/foo/bar/~
[end_paths] http://127.0.0.1:8000/foo/bar/~/
-[end_paths] http://127.0.0.1:8000/foo/bar/°/
-[end_paths] http://127.0.0.1:8000/foo/bar/°//
+[end_paths] http://127.0.0.1:8000/foo/bar/°/
+[end_paths] http://127.0.0.1:8000/foo/bar/°//
[end_paths] http://127.0.0.1:8000/foo/bar0
[end_paths] http://127.0.0.1:8000/foo/bar0/
[end_paths] http://127.0.0.1:8000/foo/bar1
@@ -166,8 +166,8 @@ Bypasser has generated 3044 payloads for 'http://127.0.0.1:8000/foo/bar' url:
[end_paths] http://127.0.0.1:8000/foo/bar\/\//
[end_paths] http://127.0.0.1:8000/foo/bar~
[end_paths] http://127.0.0.1:8000/foo/bar~/
-[end_paths] http://127.0.0.1:8000/foo/bar°/
-[end_paths] http://127.0.0.1:8000/foo/bar°//
+[end_paths] http://127.0.0.1:8000/foo/bar°/
+[end_paths] http://127.0.0.1:8000/foo/bar°//
[http_headers_ip] -H Ali-CDN-Real-IP: * http://127.0.0.1:8000/foo/bar
[http_headers_ip] -H Ali-CDN-Real-IP: 0.0.0.0 http://127.0.0.1:8000/foo/bar
[http_headers_ip] -H Ali-CDN-Real-IP: 0177.1 http://127.0.0.1:8000/foo/bar |
laluka
approved these changes
Oct 5, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems ok :)
What's the reason for the diff here? UTF-8 fix? Does it still have the behavior we need?
|
|
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
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.
Adding encoding choice in library mode and enforce
UTF-8
encoding by default in:Payload files renaming for better clarity:
Improving error handling and logging level:
critical
toerror
.Harmonize 'http_headers_scheme' payload generation style with 'http_headers_ip':
Forwarded
,Front-End-Https
,X-Forwarded-HTTPS
andX-Forwarded-SSL
headers in header_proto_schemes.lst payload file.Comparison of inner classes more generic (
__eq__(self, other)
function).