xbase-util 0.7.7__tar.gz → 0.7.8__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {xbase_util-0.7.7 → xbase_util-0.7.8}/PKG-INFO +1 -1
- {xbase_util-0.7.7 → xbase_util-0.7.8}/setup.py +1 -1
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util/pcap_util.py +22 -2
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util.egg-info/PKG-INFO +1 -1
- {xbase_util-0.7.7 → xbase_util-0.7.8}/README.md +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/setup.cfg +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/test/test.py +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util/__init__.py +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util/add_column_util.py +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util/dangerous_util.py +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util/db/__init__.py +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util/db/bean/ConfigBean.py +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util/db/bean/CurrentConfigBean.py +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util/db/bean/FlowBean.py +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util/db/bean/TaskTemplateBean.py +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util/db/bean/__init__.py +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util/db/dao/ConfigDao.py +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util/db/dao/CurrentConfigDao.py +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util/db/dao/FlowDao.py +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util/db/dao/TaskTemplateDao.py +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util/db/dao/__init__.py +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util/db/initsqlite3.py +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util/es_db_util.py +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util/esreq.py +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util/geo_util.py +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util/handle_features_util.py +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util/packet_util.py +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util/xbase_constant.py +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util/xbase_util.py +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util.egg-info/SOURCES.txt +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util.egg-info/dependency_links.txt +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util.egg-info/not-zip-safe +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util.egg-info/top_level.txt +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util_assets/GeoLite2-City.mmdb +0 -0
- {xbase_util-0.7.7 → xbase_util-0.7.8}/xbase_util_assets/arkimeparse.js +0 -0
@@ -225,16 +225,36 @@ def parse_req_or_res1(data):
|
|
225
225
|
|
226
226
|
|
227
227
|
def reassemble_session(reassemble_tcp_res, skey):
|
228
|
-
my_map = {
|
228
|
+
my_map = {
|
229
|
+
'key':'',
|
230
|
+
'req_header': '',
|
231
|
+
'req_body': '',
|
232
|
+
'req_time': 0,
|
233
|
+
'req_size': 0,
|
234
|
+
'res_header': '',
|
235
|
+
'res_body': '',
|
236
|
+
'res_time': 0,
|
237
|
+
'res_size': 0,
|
238
|
+
}
|
229
239
|
packet_list = []
|
230
240
|
for index, packet in enumerate(reassemble_tcp_res):
|
231
241
|
header, body = parse_req_or_res1(packet['data'])
|
232
242
|
if index == len(reassemble_tcp_res) - 1:
|
233
243
|
packet_list.append(copy.deepcopy(my_map))
|
234
|
-
my_map['key'] = packet['key']
|
235
244
|
if packet['key'] == skey:
|
236
245
|
if index != 0:
|
237
246
|
packet_list.append(copy.deepcopy(my_map))
|
247
|
+
my_map = {
|
248
|
+
'key': packet['key'],
|
249
|
+
'req_header': '',
|
250
|
+
'req_body': b'',
|
251
|
+
'req_time': 0,
|
252
|
+
'req_size': 0,
|
253
|
+
'res_header': '',
|
254
|
+
'res_body': b'',
|
255
|
+
'res_time': 0,
|
256
|
+
'res_size': 0,
|
257
|
+
}
|
238
258
|
my_map["req_header"] = header
|
239
259
|
my_map["req_body"] = body
|
240
260
|
my_map["req_time"] = packet['ts']
|
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
|
File without changes
|