yaralyzer 0.9.1.1__py3-none-any.whl → 0.9.3__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.
Potentially problematic release.
This version of yaralyzer might be problematic. Click here for more details.
- CHANGELOG.md +6 -0
- yaralyzer/encoding_detection/encoding_detector.py +1 -1
- yaralyzer/yaralyzer.py +4 -0
- {yaralyzer-0.9.1.1.dist-info → yaralyzer-0.9.3.dist-info}/METADATA +2 -2
- {yaralyzer-0.9.1.1.dist-info → yaralyzer-0.9.3.dist-info}/RECORD +8 -8
- {yaralyzer-0.9.1.1.dist-info → yaralyzer-0.9.3.dist-info}/WHEEL +1 -1
- {yaralyzer-0.9.1.1.dist-info → yaralyzer-0.9.3.dist-info}/LICENSE +0 -0
- {yaralyzer-0.9.1.1.dist-info → yaralyzer-0.9.3.dist-info}/entry_points.txt +0 -0
CHANGELOG.md
CHANGED
yaralyzer/yaralyzer.py
CHANGED
|
@@ -91,6 +91,10 @@ class Yaralyzer:
|
|
|
91
91
|
if not isinstance(yara_rules_files, list):
|
|
92
92
|
raise TypeError(f"{yara_rules_files} is not a list")
|
|
93
93
|
|
|
94
|
+
for file in yara_rules_files:
|
|
95
|
+
if not path.exists(file):
|
|
96
|
+
raise ValueError(f"'{file}' is not a valid yara rules file (it doesn't exist)")
|
|
97
|
+
|
|
94
98
|
filepaths_arg = {path.basename(file): file for file in yara_rules_files}
|
|
95
99
|
yara_rules = yara.compile(filepaths=filepaths_arg)
|
|
96
100
|
yara_rules_label = comma_join(yara_rules_files, func=path.basename)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: yaralyzer
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.3
|
|
4
4
|
Summary: Visualize and force decode YARA and regex matches found in a file or byte stream. With colors. Lots of colors.
|
|
5
5
|
Home-page: https://github.com/michelcrypt4d4mus/yaralyzer
|
|
6
6
|
License: GPL-3.0-or-later
|
|
@@ -19,7 +19,7 @@ Requires-Dist: chardet (>=5.0.0,<6.0.0)
|
|
|
19
19
|
Requires-Dist: python-dotenv (>=0.21.0,<0.22.0)
|
|
20
20
|
Requires-Dist: rich (>=12.5.1,<13.0.0)
|
|
21
21
|
Requires-Dist: rich-argparse-plus (>=0.3.1,<0.4.0)
|
|
22
|
-
Requires-Dist: yara-python (>=4.2.3,<
|
|
22
|
+
Requires-Dist: yara-python (>=4.2.3,<4.3.0)
|
|
23
23
|
Project-URL: Documentation, https://github.com/michelcrypt4d4mus/yaralyzer
|
|
24
24
|
Project-URL: Repository, https://github.com/michelcrypt4d4mus/yaralyzer
|
|
25
25
|
Description-Content-Type: text/markdown
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.yaralyzer.example,sha256=Bp38fkp3rQ1_iFTkH51vlMQEGHE3x66rzwHQGCr-TS0,3610
|
|
2
|
-
CHANGELOG.md,sha256=
|
|
2
|
+
CHANGELOG.md,sha256=iZKRHngWDLs8Y0_1lCmQRlJ8pr1HofJQjXAeRm56e4s,1842
|
|
3
3
|
yaralyzer/__init__.py,sha256=sU2sN1lizcfxUg4vghz_L3OUwi7sWXGvNinE_tJCa4Y,2616
|
|
4
4
|
yaralyzer/bytes_match.py,sha256=HaFxaSqtzvBUFXwXxuBATxPM_krG7WY1oEMFXwE5KrY,7011
|
|
5
5
|
yaralyzer/config.py,sha256=ucKA1F4NqiSUBRDbINYjm0QqbXJjLmELKdpgmyajghs,3693
|
|
@@ -7,7 +7,7 @@ yaralyzer/decoding/bytes_decoder.py,sha256=lulfZZhYmo9ky2KpqBW-c9hs5_uhlaz0gatdt
|
|
|
7
7
|
yaralyzer/decoding/decoding_attempt.py,sha256=GAxMNOX7I_FsuzGWIelTWAECytLUJD-wpmUAuVe2bn0,7241
|
|
8
8
|
yaralyzer/encoding_detection/character_encodings.py,sha256=zrOUgNXwrcXkeYSgdo09vsFPmNYsTkaHvq7YzzpbMsk,4395
|
|
9
9
|
yaralyzer/encoding_detection/encoding_assessment.py,sha256=yMb1QSHS7JpNyL6jnZwt9Vq0Y6ueVStYZjMKyP6-f5A,2307
|
|
10
|
-
yaralyzer/encoding_detection/encoding_detector.py,sha256=
|
|
10
|
+
yaralyzer/encoding_detection/encoding_detector.py,sha256=L7bOHVSrlgBBN4n0F_Wrre8bTv9gcYHxR65apngsxNM,4673
|
|
11
11
|
yaralyzer/helpers/bytes_helper.py,sha256=nq2FOUVfZNO2XYAzFQ364cZ8mw70hxP9fyncQwUyR6w,6922
|
|
12
12
|
yaralyzer/helpers/dict_helper.py,sha256=h8Sg01qCJRKfZ0bmTYhLP6X5OVxMg-7CZryJIjcbw8E,211
|
|
13
13
|
yaralyzer/helpers/file_helper.py,sha256=ytPOE_Zel2fk7g39eCTTHG1W3SYgkEpro9tNrd2TDxU,1196
|
|
@@ -22,9 +22,9 @@ yaralyzer/util/argument_parser.py,sha256=88lBcM98wP2DLAKq31QwSUsQhGZlThjxK9KbXik
|
|
|
22
22
|
yaralyzer/util/logging.py,sha256=3qtLnCFbN8L1nTSwIQvxfcM5jfhIRWTFZj9XGQk74kc,4326
|
|
23
23
|
yaralyzer/yara/yara_match.py,sha256=ql3myrpr7uiUH93ZdUKdLOK3oxGmY2_hJyTVxw01hDk,4453
|
|
24
24
|
yaralyzer/yara/yara_rule_builder.py,sha256=kAa3RBojM5GEaXDJjKZODAyx6yj34AlkOnQhACAFfZM,3021
|
|
25
|
-
yaralyzer/yaralyzer.py,sha256=
|
|
26
|
-
yaralyzer-0.9.
|
|
27
|
-
yaralyzer-0.9.
|
|
28
|
-
yaralyzer-0.9.
|
|
29
|
-
yaralyzer-0.9.
|
|
30
|
-
yaralyzer-0.9.
|
|
25
|
+
yaralyzer/yaralyzer.py,sha256=K0XIl0EL9Kv2WHubc1Px7Jvrn-Xm48fiVQ4nlUKfUTc,9180
|
|
26
|
+
yaralyzer-0.9.3.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
27
|
+
yaralyzer-0.9.3.dist-info/METADATA,sha256=FumYPXADt8uTVh9Ktp1EnnLHyVk2GDOPXeg4wxWuFn4,10282
|
|
28
|
+
yaralyzer-0.9.3.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
|
|
29
|
+
yaralyzer-0.9.3.dist-info/entry_points.txt,sha256=7LnLJrNTfql0vuctjRWwp_ZD-BYvtv9ENVipdjuT7XI,136
|
|
30
|
+
yaralyzer-0.9.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|