-
Notifications
You must be signed in to change notification settings - Fork 25
Description
文件链接:https://mcfp.felk.cvut.cz/publicDatasets/IoT-23-Dataset/IndividualScenarios/CTU-IoT-Malware-Capture-1-1/
报错信息:
C:\Users\username\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\numpy\core_asarray.py:102: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
return array(a, dtype, copy=False, order=order)
Traceback (most recent call last):
File "C:\Users\username\Desktop\P2\tshark.py", line 12, in
GetSignalSample()
File "C:\Users\username\Desktop\P2\tshark.py", line 4, in GetSignalSample
result = extract(
File "C:\Users\username\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\flowcontainer\extractor.py", line 36, in extract
result = flow_generator.combine(result,extension)
File "C:\Users\username\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\flowcontainer\flow_generator.py", line 32, in combine
result[key] = result.get(key, Flow()).add(packet,extention)
File "C:\Users\username\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\flowcontainer\flows.py", line 113, in add
raise ValueError("Packet {} incompatible with flow {}" .format(packet, self))
ValueError: Packet ['2018-05-09-192.168.100.103.pcap' 'udp' '11757' '1525891666.012055000'
'40' '192.168.100.103' '22.224.141.116' '43763' '26597' '20' list([])] incompatible with flow [Time 02:47:45.011902 to 02:47:45.011902] 192.168.100.103:43763 <-> 100.118.73.85:23129 [Payload Packet Size Length 1] [extension: {}]