Chimay-Red
Chimay-Red copied to clipboard
StackClash_x86 change bytes for bytearray, interpretation wrong for python 2.6-7
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
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.