xbase-util 0.9.2__tar.gz → 0.9.3__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {xbase_util-0.9.2 → xbase_util-0.9.3}/PKG-INFO +1 -1
- {xbase_util-0.9.2 → xbase_util-0.9.3}/setup.py +1 -1
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util/pcap_util.py +1 -3
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util/test.py +2 -2
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util.egg-info/PKG-INFO +1 -1
- {xbase_util-0.9.2 → xbase_util-0.9.3}/README.md +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/setup.cfg +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util/__init__.py +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util/add_column_util.py +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util/common_util.py +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util/dangerous_util.py +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util/db/__init__.py +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util/db/bean/ConfigBean.py +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util/db/bean/CurrentConfigBean.py +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util/db/bean/FlowBean.py +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util/db/bean/TaskTemplateBean.py +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util/db/bean/__init__.py +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util/db/dao/ConfigDao.py +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util/db/dao/CurrentConfigDao.py +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util/db/dao/FlowDao.py +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util/db/dao/TaskTemplateDao.py +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util/db/dao/__init__.py +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util/db/initsqlite3.py +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util/es_db_util.py +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util/esreq.py +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util/geo_util.py +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util/handle_features_util.py +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util/packet_util.py +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util/xbase_constant.py +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util.egg-info/SOURCES.txt +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util.egg-info/dependency_links.txt +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util.egg-info/not-zip-safe +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util.egg-info/top_level.txt +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util_assets/GeoLite2-City.mmdb +0 -0
- {xbase_util-0.9.2 → xbase_util-0.9.3}/xbase_util_assets/arkimeparse.js +0 -0
@@ -247,9 +247,7 @@ def get_file_and_read_pos(session_id, file, pos_list):
|
|
247
247
|
packets[i] = packet_bytes
|
248
248
|
while next_packet in packets:
|
249
249
|
buffer = packets[next_packet]
|
250
|
-
|
251
|
-
next_packet += 1
|
252
|
-
# del packets[next_packet]
|
250
|
+
del packets[next_packet]
|
253
251
|
next_packet = next_packet + 1
|
254
252
|
if b_offset + len(buffer) > len(byte_array):
|
255
253
|
res.extend(byte_array[:b_offset])
|
@@ -3,7 +3,7 @@ from scapy.utils import rdpcap
|
|
3
3
|
from xbase_util.pcap_util import reassemble_tcp_pcap, reassemble_session_pcap
|
4
4
|
|
5
5
|
if __name__ == '__main__':
|
6
|
-
packets_scapy = reassemble_tcp_pcap(rdpcap("
|
7
|
-
skey = '10.28.7.
|
6
|
+
packets_scapy = reassemble_tcp_pcap(rdpcap("test1.pcap"))
|
7
|
+
skey = '10.28.7.53:58598'
|
8
8
|
all_packets = reassemble_session_pcap(packets_scapy, skey=skey,session_id='emmmmm')
|
9
9
|
print(all_packets)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|