Closed slouchycouch closed 3 years ago
Use Python 2, otherwise feel free to open a PR to get it working with Python 3.
FYI you can use the terminal command 2to3 2to3 oldpython2z.py
and it will automatically upgrade / preview to v3 code.
-w will write it out / changes.
FYI you can use the terminal command 2to3 2to3 oldpython2z.py
and it will automatically upgrade / preview to v3 code.
-w will write it out / changes.
so ive been trying to do it and it either says im doing it in the wrong order or it just doesnt change anything.....
hi so when i execute the python program it comes back with Traceback (most recent call last): File "/home/kalilinux/Downloads/CVE-2017-0781.py", line 36, in
bad_packet = packet('AAABBBB')
File "/home/kalilinux/Downloads/CVE-2017-0781.py", line 32, in packet
pkt += p8(set_bnep_header_extension_bit(BNEP_FRAME_CONTROL))
TypeError: can only concatenate str (not "bytes") to str
what am i doing wrong and how can i fix this?