xbase-util 0.5.9__tar.gz → 0.6.1__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {xbase_util-0.5.9 → xbase_util-0.6.1}/PKG-INFO +1 -1
- {xbase_util-0.5.9 → xbase_util-0.6.1}/setup.py +1 -1
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util/packet_util.py +5 -7
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util.egg-info/PKG-INFO +1 -1
- {xbase_util-0.5.9 → xbase_util-0.6.1}/README.md +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/setup.cfg +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/test/test.py +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util/__init__.py +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util/add_column_util.py +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util/dangerous_util.py +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util/db/__init__.py +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util/db/bean/ConfigBean.py +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util/db/bean/CurrentConfigBean.py +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util/db/bean/FlowBean.py +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util/db/bean/TaskTemplateBean.py +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util/db/bean/__init__.py +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util/db/dao/ConfigDao.py +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util/db/dao/CurrentConfigDao.py +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util/db/dao/FlowDao.py +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util/db/dao/TaskTemplateDao.py +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util/db/dao/__init__.py +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util/db/initsqlite3.py +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util/es_db_util.py +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util/esreq.py +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util/geo_util.py +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util/handle_features_util.py +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util/pcap_util.py +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util/xbase_constant.py +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util/xbase_util.py +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util.egg-info/SOURCES.txt +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util.egg-info/dependency_links.txt +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util.egg-info/not-zip-safe +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util.egg-info/top_level.txt +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util_assets/GeoLite2-City.mmdb +0 -0
- {xbase_util-0.5.9 → xbase_util-0.6.1}/xbase_util_assets/arkimeparse.js +0 -0
@@ -99,15 +99,13 @@ def get_all_packets_by_reg(packets):
|
|
99
99
|
def get_body(packet, is_req):
|
100
100
|
try:
|
101
101
|
if is_req:
|
102
|
-
return "".join([item for item in packet['req_text'].split("\r\n\r\n") if "HTTP/" not in item])
|
102
|
+
return "".join([item for item in packet['req_text'].split("\r\n\r\n") if "HTTP/" not in item and 'req_text' in packet])
|
103
103
|
else:
|
104
|
-
return "".join([item for item in packet['res_text'].split("\r\n\r\n") if "HTTP/" not in item])
|
104
|
+
return "".join([item for item in packet['res_text'].split("\r\n\r\n") if "HTTP/" not in item and 'res_text' in packet])
|
105
105
|
except Exception as e:
|
106
|
-
print("
|
107
|
-
|
108
|
-
|
109
|
-
else:
|
110
|
-
print(packet['res_text'])
|
106
|
+
print("-"*30)
|
107
|
+
print(type(packet['req_text']))
|
108
|
+
print(type(packet['res_text']))
|
111
109
|
traceback.print_exc()
|
112
110
|
return ""
|
113
111
|
|
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
|