Chimay-Red icon indicating copy to clipboard operation
Chimay-Red copied to clipboard

StackClash_x86 change bytes for bytearray, interpretation wrong for python 2.6-7

Open 11ume opened this issue 7 years ago • 1 comments

The new bytes type is 3.x only. The 2.x bytes built-in is just an alias to the str type. There is no new type called bytes in 2.x; Just a new alias and literal syntax for str.

https://github.com/ebranca/owasp-pysec/wiki/Bytes-type-in-python-2-and-python-3

11ume avatar Feb 05 '18 23:02 11ume

if you can ignore this pull request, the script will work without problems since bytes in py2 is str (), I thought that the send method of socket, was throwing an expecion but it does, this don't have a same logic that in python 3 which only wait for a byte object, the code would, only be badly syntactically.

11ume avatar Feb 07 '18 15:02 11ume