xbase-util 0.3.8__tar.gz → 0.3.9__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {xbase_util-0.3.8 → xbase_util-0.3.9}/PKG-INFO +1 -1
- {xbase_util-0.3.8 → xbase_util-0.3.9}/setup.py +1 -1
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util/xbase_util.py +9 -10
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util.egg-info/PKG-INFO +1 -1
- {xbase_util-0.3.8 → xbase_util-0.3.9}/README.md +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/setup.cfg +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util/__init__.py +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util/add_column_util.py +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util/db/__init__.py +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util/db/bean/ConfigBean.py +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util/db/bean/CurrentConfigBean.py +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util/db/bean/FlowBean.py +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util/db/bean/TaskTemplateBean.py +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util/db/bean/__init__.py +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util/db/dao/ConfigDao.py +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util/db/dao/CurrentConfigDao.py +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util/db/dao/FlowDao.py +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util/db/dao/TaskTemplateDao.py +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util/db/dao/__init__.py +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util/db/initsqlite3.py +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util/es_db_util.py +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util/esreq.py +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util/geo_util.py +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util/handle_features_util.py +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util/pcap_util.py +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util/xbase_constant.py +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util.egg-info/SOURCES.txt +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util.egg-info/dependency_links.txt +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util.egg-info/not-zip-safe +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util.egg-info/top_level.txt +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util_assets/GeoLite2-City.mmdb +0 -0
- {xbase_util-0.3.8 → xbase_util-0.3.9}/xbase_util_assets/arkimeparse.js +0 -0
@@ -402,16 +402,15 @@ def get_uri_filename_length(uri):
|
|
402
402
|
return 0
|
403
403
|
|
404
404
|
|
405
|
-
def get_dns_domain_suffix(domain
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
return ""
|
405
|
+
def get_dns_domain_suffix(domain):
|
406
|
+
try:
|
407
|
+
for tmp_suffix in dns_domain_list:
|
408
|
+
if tmp_suffix in domain:
|
409
|
+
return tmp_suffix
|
410
|
+
extracted = tldextract.extract(domain)
|
411
|
+
return extracted.suffix
|
412
|
+
except Exception as e:
|
413
|
+
return ""
|
415
414
|
|
416
415
|
|
417
416
|
def check_path(file_path: str):
|
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
|