Fix cyclic cli for 64 bit integers#1616
Merged
Arusekk merged 3 commits intoGallopsled:devfrom Jul 7, 2020
Merged
Conversation
Member
|
Shouldn't this just use cyclic_find() function? It should handle stuff automatically already |
heapcrash
requested changes
Jun 29, 2020
pwnlib/commandline/cyclic.py
Outdated
Collaborator
There was a problem hiding this comment.
This should set context.cyclic_size. instead of doing this here.
Contributor
Author
There was a problem hiding this comment.
That doesn't actually work:
AttributeError: cyclic pattern size cannot be larger than word size
but I can set context.bytes to args.length and it seems to work.
Collaborator
There was a problem hiding this comment.
Can we at least do bytes= to avoid the unnecessary multiplication? Also this should be rebased since v4.2.0 was released and now this targets v4.4.0dev0
Collaborator
|
Mind rebasing this on |
Contributor
Author
|
Rebased. |
Member
|
@heapcrash or @Arusekk can you merge this? |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in 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.
Before this change,
pwn cyclic -n 8 -l 0x6161616161616178outputs: