You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
• a bunch of bugs that need to be fixed to use bytes objects with encode and friends
• e.g. set(b'asdf') == {97, 115, 100, 102}
• and the docs need to be updated to say bytes instead of str
• and the examples need to be updated to not use a set() apparently
• encoders should not be shuffled unless context.randomize is set
The text was updated successfully, but these errors were encountered:
Was messing around with Pwnlib.encoders and I tried encoding bytes from \x10 through \xff. Found a few bugs along the way
Iterating over the
bytes
object yields integers instead of single-bytebytes
object.There's a separate bug if you encode(..., force=True) that complains about calling bytes(avoid)
Also this should only be done if
context.randomize == True
And this seems to hang forever, even if you do the "right thing"
In summary, there's
• a bunch of bugs that need to be fixed to use bytes objects with encode and friends
• e.g. set(b'asdf') == {97, 115, 100, 102}
• and the docs need to be updated to say bytes instead of str
• and the examples need to be updated to not use a set() apparently
• encoders should not be shuffled unless context.randomize is set
The text was updated successfully, but these errors were encountered: