xbase-util 0.4.7__tar.gz → 0.4.8__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {xbase_util-0.4.7 → xbase_util-0.4.8}/PKG-INFO +1 -1
- {xbase_util-0.4.7 → xbase_util-0.4.8}/setup.py +1 -1
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util/packet_util.py +4 -4
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util.egg-info/PKG-INFO +1 -1
- {xbase_util-0.4.7 → xbase_util-0.4.8}/README.md +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/setup.cfg +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util/__init__.py +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util/add_column_util.py +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util/dangerous_util.py +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util/db/__init__.py +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util/db/bean/ConfigBean.py +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util/db/bean/CurrentConfigBean.py +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util/db/bean/FlowBean.py +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util/db/bean/TaskTemplateBean.py +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util/db/bean/__init__.py +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util/db/dao/ConfigDao.py +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util/db/dao/CurrentConfigDao.py +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util/db/dao/FlowDao.py +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util/db/dao/TaskTemplateDao.py +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util/db/dao/__init__.py +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util/db/initsqlite3.py +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util/es_db_util.py +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util/esreq.py +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util/geo_util.py +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util/handle_features_util.py +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util/pcap_util.py +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util/xbase_constant.py +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util/xbase_util.py +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util.egg-info/SOURCES.txt +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util.egg-info/dependency_links.txt +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util.egg-info/not-zip-safe +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util.egg-info/top_level.txt +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util_assets/GeoLite2-City.mmdb +0 -0
- {xbase_util-0.4.7 → xbase_util-0.4.8}/xbase_util_assets/arkimeparse.js +0 -0
@@ -137,8 +137,8 @@ def get_all_packets_by_reg(packets):
|
|
137
137
|
return packet_list
|
138
138
|
|
139
139
|
|
140
|
-
def get_body(param
|
141
|
-
body = param.split("\r\n\r\n")
|
140
|
+
def get_body(param):
|
141
|
+
body = "".join([item.strip() for item in param.split("\r\n\r\n") if item.strip() != "" and "HTTP/" not in param])
|
142
142
|
return "" if body is None else body
|
143
143
|
|
144
144
|
|
@@ -186,9 +186,9 @@ def get_detail_by_package(packets_from_pcap, publicField, use_regx):
|
|
186
186
|
res_field['plain_body_src'] = ""
|
187
187
|
res_field['plain_body_dst'] = ""
|
188
188
|
if content_type_is_plain(req):
|
189
|
-
res_field['plain_body_src'] = get_body(req
|
189
|
+
res_field['plain_body_src'] = get_body(req)
|
190
190
|
if content_type_is_plain(res):
|
191
|
-
res_field['plain_body_dst'] = get_body(res
|
191
|
+
res_field['plain_body_dst'] = get_body(res)
|
192
192
|
|
193
193
|
response_lines = res.strip().split("\n")
|
194
194
|
http_response_lines = [item for item in response_lines if "HTTP" in item]
|
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
|