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
Hello,
there is some issue with python 3.9.1 compatibility.
Configuration
impacket version:
impacket-0.9.22
Python version:
Python 3.9.1
Target OS:
Linux (Fedora 33)
Debug Output With Command String
$ python3 -c 'import impacket.ImpactPacket ; impacket.ImpactPacket.IP().get_packet()'
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3.9/site-packages/impacket/ImpactPacket.py", line 784, in get_packet
if self.get_ip_len() == 0:
File "/usr/lib/python3.9/site-packages/impacket/ImpactPacket.py", line 882, in get_ip_len
return self.get_word(2)
File "/usr/lib/python3.9/site-packages/impacket/ImpactPacket.py", line 100, in get_word
(value,) = struct.unpack(order + 'H', bytes.tostring())
AttributeError: 'array.array' object has no attribute 'tostring'
The text was updated successfully, but these errors were encountered:
Hello,
there is some issue with python 3.9.1 compatibility.
Configuration
impacket version:
impacket-0.9.22
Python version:
Python 3.9.1
Target OS:
Linux (Fedora 33)
Debug Output With Command String
$ python3 -c 'import impacket.ImpactPacket ; impacket.ImpactPacket.IP().get_packet()'
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3.9/site-packages/impacket/ImpactPacket.py", line 784, in get_packet
if self.get_ip_len() == 0:
File "/usr/lib/python3.9/site-packages/impacket/ImpactPacket.py", line 882, in get_ip_len
return self.get_word(2)
File "/usr/lib/python3.9/site-packages/impacket/ImpactPacket.py", line 100, in get_word
(value,) = struct.unpack(order + 'H', bytes.tostring())
AttributeError: 'array.array' object has no attribute 'tostring'
The text was updated successfully, but these errors were encountered: