-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Refactor pwnlib.encoders.encode() to be more nice to bytes objects #1923
Open
heapcrash
wants to merge
8
commits into
Gallopsled:stable
Choose a base branch
from
heapcrash:stable-encoders-python3-byteset
base: stable
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Refactor pwnlib.encoders.encode() to be more nice to bytes objects #1923
heapcrash
wants to merge
8
commits into
Gallopsled:stable
from
heapcrash:stable-encoders-python3-byteset
Commits on Jun 25, 2021
-
Refactor pwnlib.encoders.encode() to be more nice to bytes objects
* Add byteset() to misc which does "the right thing" and returns a set of bytes * Make bytes_avoid be a bytes() object instead of a set * Update documentation to note that functions take bytes() and not str()
Configuration menu - View commit details
-
Copy full SHA for 1efc949 - Browse repository at this point
Copy the full SHA 1efc949View commit details -
Configuration menu - View commit details
-
Copy full SHA for 763ff67 - Browse repository at this point
Copy the full SHA 763ff67View commit details -
Move Encoder class to its own module, as it does not need to be expos…
…ed to documentation
Configuration menu - View commit details
-
Copy full SHA for fcad2d7 - Browse repository at this point
Copy the full SHA fcad2d7View commit details -
Adopt byteset() and the new module for encoder_class
Also adds examples/encoder.py to make sure the encoders can work in simple situations, avoiding basic characters, and being forced to encode even if the avoid= are missing in the original bytes.
Configuration menu - View commit details
-
Copy full SHA for ca80189 - Browse repository at this point
Copy the full SHA ca80189View commit details -
Configuration menu - View commit details
-
Copy full SHA for f983bbc - Browse repository at this point
Copy the full SHA f983bbcView commit details
Commits on Jul 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c22d82a - Browse repository at this point
Copy the full SHA c22d82aView commit details
Commits on Jul 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f25e2b7 - Browse repository at this point
Copy the full SHA f25e2b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39f6639 - Browse repository at this point
Copy the full SHA 39f6639View commit details
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.