assemblyline-v4-service 4.4.0.48__py3-none-any.whl → 4.4.0.49__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- assemblyline_v4_service/VERSION +1 -1
- assemblyline_v4_service/common/task.py +1 -1
- assemblyline_v4_service/dev/run_service_once.py +2 -2
- assemblyline_v4_service/updater/helper.py +1 -1
- {assemblyline_v4_service-4.4.0.48.dist-info → assemblyline_v4_service-4.4.0.49.dist-info}/METADATA +1 -1
- {assemblyline_v4_service-4.4.0.48.dist-info → assemblyline_v4_service-4.4.0.49.dist-info}/RECORD +9 -9
- {assemblyline_v4_service-4.4.0.48.dist-info → assemblyline_v4_service-4.4.0.49.dist-info}/LICENCE.md +0 -0
- {assemblyline_v4_service-4.4.0.48.dist-info → assemblyline_v4_service-4.4.0.49.dist-info}/WHEEL +0 -0
- {assemblyline_v4_service-4.4.0.48.dist-info → assemblyline_v4_service-4.4.0.49.dist-info}/top_level.txt +0 -0
assemblyline_v4_service/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
4.4.0.
|
|
1
|
+
4.4.0.49
|
|
@@ -113,7 +113,7 @@ class Task:
|
|
|
113
113
|
# Allows the administrator to be selective about the types of hashes to lookup in the safelist
|
|
114
114
|
if safelist_interface and self.safelist_config.enabled and not (self.deep_scan or self.ignore_filtering):
|
|
115
115
|
# Ignore adding files that are known to the system to be safe
|
|
116
|
-
digests = get_digests_for_file(path)
|
|
116
|
+
digests = get_digests_for_file(path, skip_fuzzy_hashes=True)
|
|
117
117
|
for hash_type in self.safelist_config.hash_types:
|
|
118
118
|
qhash = digests[hash_type]
|
|
119
119
|
resp = safelist_interface.lookup_safelist(qhash)
|
|
@@ -55,7 +55,7 @@ class RunService:
|
|
|
55
55
|
self.service.start_service()
|
|
56
56
|
|
|
57
57
|
# Identify the file
|
|
58
|
-
file_info = self.identify.fileinfo(FILE_PATH)
|
|
58
|
+
file_info = self.identify.fileinfo(FILE_PATH, skip_fuzzy_hashes=True)
|
|
59
59
|
if file_info['type'] == "archive/cart" or file_info['magic'] == "custom: archive/cart":
|
|
60
60
|
original_file_name = get_metadata_only(FILE_PATH).get("name")
|
|
61
61
|
if original_file_name:
|
|
@@ -66,7 +66,7 @@ class RunService:
|
|
|
66
66
|
with open(FILE_PATH, 'rb') as ifile, open(original_temp, 'wb') as ofile:
|
|
67
67
|
unpack_stream(ifile, ofile)
|
|
68
68
|
|
|
69
|
-
file_info = self.identify.fileinfo(original_temp)
|
|
69
|
+
file_info = self.identify.fileinfo(original_temp, skip_fuzzy_hashes=True)
|
|
70
70
|
target_file = os.path.join(tempfile.gettempdir(), file_info['sha256'])
|
|
71
71
|
shutil.move(original_temp, target_file)
|
|
72
72
|
LOG.info(f"File was a CaRT archive, it was un-CaRTed to {target_file} for processing")
|
|
@@ -142,7 +142,7 @@ def url_download(source: Dict[str, Any], previous_update: int = None, logger=Non
|
|
|
142
142
|
for content in response.iter_content(BLOCK_SIZE):
|
|
143
143
|
f.write(content)
|
|
144
144
|
|
|
145
|
-
ident_type = identify.fileinfo(file_path)['type']
|
|
145
|
+
ident_type = identify.fileinfo(file_path, generate_hashes=False)['type']
|
|
146
146
|
if ident_type.startswith('archive'):
|
|
147
147
|
extract_dir = os.path.join(output_dir, name)
|
|
148
148
|
format = ident_type.split('archive/')[-1]
|
{assemblyline_v4_service-4.4.0.48.dist-info → assemblyline_v4_service-4.4.0.49.dist-info}/RECORD
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
assemblyline_v4_service/VERSION,sha256=
|
|
1
|
+
assemblyline_v4_service/VERSION,sha256=IhGbDdCiB_h8mEqfbJZcQBEZPb7wrNfajMwRzNqZBMI,9
|
|
2
2
|
assemblyline_v4_service/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
assemblyline_v4_service/healthz.py,sha256=3QGBg0EZuXC6UN411HFwpLNEop9UvS9feFhvBUTP-k4,1576
|
|
4
4
|
assemblyline_v4_service/run_privileged_service.py,sha256=9uTfHetXR5G-EDKMDrgfWUOw34yr64-cj6Cm9eZaCbQ,14547
|
|
@@ -11,19 +11,19 @@ assemblyline_v4_service/common/ocr.py,sha256=gFPVAGVsmVk4SKL7hCMCT7NEyG-lFLniEFQ
|
|
|
11
11
|
assemblyline_v4_service/common/ontology_helper.py,sha256=Wao4VZ_YrlmLd3-CXwqsK6c5VTiVZ89CKEhZOgZrm0Q,7792
|
|
12
12
|
assemblyline_v4_service/common/request.py,sha256=zgmKvYnK1KcBWsQQUZmeBXGIi-P5m3ltxqGY2Xo696c,9764
|
|
13
13
|
assemblyline_v4_service/common/result.py,sha256=qOwyFP4zJMpngZWDIuc0bFN-tNjLuPP2RDOgkPNwEXI,30349
|
|
14
|
-
assemblyline_v4_service/common/task.py,sha256=
|
|
14
|
+
assemblyline_v4_service/common/task.py,sha256=22dl6FiQwqeL0CxkSzmHn9mKSL5xf9zE5QjxT-nDLs4,12504
|
|
15
15
|
assemblyline_v4_service/common/utils.py,sha256=71ndFdbdfCeRCM-eYs1htKqJ-1miiWbsF_UgHnKKNZ4,3112
|
|
16
16
|
assemblyline_v4_service/dev/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
|
-
assemblyline_v4_service/dev/run_service_once.py,sha256=
|
|
17
|
+
assemblyline_v4_service/dev/run_service_once.py,sha256=Q4xP-FlAARgeqVfORFNcBTju-r05_2Q2bDYwREoBK44,10640
|
|
18
18
|
assemblyline_v4_service/updater/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
19
|
assemblyline_v4_service/updater/__main__.py,sha256=9Os-u8Tf7MD73JSrUSPmOaErTgfvesNLiEeszU4ujXA,133
|
|
20
20
|
assemblyline_v4_service/updater/app.py,sha256=OF-G7J8IYwTjdGw_BI9numBicZBN5lspm8Eqb3qbIl8,3229
|
|
21
21
|
assemblyline_v4_service/updater/client.py,sha256=VKmkiDz3klvMzXiGSQTH7QN-MfHuJnwaIR7BaXy9aZM,5156
|
|
22
22
|
assemblyline_v4_service/updater/gunicorn_config.py,sha256=p3j2KPBeD5jvMw9O5i7vAtlRgPSVVxIG9AO0DfN82J8,1247
|
|
23
|
-
assemblyline_v4_service/updater/helper.py,sha256=
|
|
23
|
+
assemblyline_v4_service/updater/helper.py,sha256=CO0zY6R0gx36iOCSfZyCYCvUAUP76qQMqZ1z_HkZMME,9123
|
|
24
24
|
assemblyline_v4_service/updater/updater.py,sha256=lWE-uFlOmi_Lglu1Rv_QM3nZNQskJiXmGbmzGBFFbC8,31591
|
|
25
|
-
assemblyline_v4_service-4.4.0.
|
|
26
|
-
assemblyline_v4_service-4.4.0.
|
|
27
|
-
assemblyline_v4_service-4.4.0.
|
|
28
|
-
assemblyline_v4_service-4.4.0.
|
|
29
|
-
assemblyline_v4_service-4.4.0.
|
|
25
|
+
assemblyline_v4_service-4.4.0.49.dist-info/LICENCE.md,sha256=NSkYo9EH8h5oOkzg4VhjAHF4339MqPP2cQ8msTPgl-c,1396
|
|
26
|
+
assemblyline_v4_service-4.4.0.49.dist-info/METADATA,sha256=am0-vX80BwumALjNrGL4ht4tcRomu9OtbElG4RgWLRg,9337
|
|
27
|
+
assemblyline_v4_service-4.4.0.49.dist-info/WHEEL,sha256=5sUXSg9e4bi7lTLOHcm6QEYwO5TIF1TNbTSVFVjcJcc,92
|
|
28
|
+
assemblyline_v4_service-4.4.0.49.dist-info/top_level.txt,sha256=Ut5IqePObcxlJ8rv2--dOAzYbxzqlllfiV_51cbqjbA,24
|
|
29
|
+
assemblyline_v4_service-4.4.0.49.dist-info/RECORD,,
|
{assemblyline_v4_service-4.4.0.48.dist-info → assemblyline_v4_service-4.4.0.49.dist-info}/LICENCE.md
RENAMED
|
File without changes
|
{assemblyline_v4_service-4.4.0.48.dist-info → assemblyline_v4_service-4.4.0.49.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|