yaralyzer 1.0.1__tar.gz → 1.0.2__tar.gz
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.
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/CHANGELOG.md +3 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/PKG-INFO +5 -6
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/README.md +3 -4
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/pyproject.toml +2 -2
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/yaralyzer/output/file_export.py +2 -3
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/.yaralyzer.example +0 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/LICENSE +0 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/yaralyzer/__init__.py +0 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/yaralyzer/bytes_match.py +0 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/yaralyzer/config.py +0 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/yaralyzer/decoding/bytes_decoder.py +0 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/yaralyzer/decoding/decoding_attempt.py +0 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/yaralyzer/encoding_detection/character_encodings.py +0 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/yaralyzer/encoding_detection/encoding_assessment.py +0 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/yaralyzer/encoding_detection/encoding_detector.py +0 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/yaralyzer/helpers/bytes_helper.py +0 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/yaralyzer/helpers/dict_helper.py +0 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/yaralyzer/helpers/file_helper.py +0 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/yaralyzer/helpers/list_helper.py +0 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/yaralyzer/helpers/rich_text_helper.py +0 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/yaralyzer/helpers/string_helper.py +0 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/yaralyzer/output/decoding_attempts_table.py +0 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/yaralyzer/output/file_hashes_table.py +0 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/yaralyzer/output/regex_match_metrics.py +0 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/yaralyzer/output/rich_console.py +0 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/yaralyzer/util/argument_parser.py +0 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/yaralyzer/util/logging.py +0 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/yaralyzer/yara/yara_match.py +0 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/yaralyzer/yara/yara_rule_builder.py +0 -0
- {yaralyzer-1.0.1 → yaralyzer-1.0.2}/yaralyzer/yaralyzer.py +0 -0
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# NEXT RELEASE
|
|
2
2
|
|
|
3
|
+
### 1.0.2
|
|
4
|
+
* Upgrade `yara-python` to 4.5.4
|
|
5
|
+
|
|
3
6
|
### 1.0.1
|
|
4
7
|
* Fix iteration of byte offsets during attempted decodes for UTF-16 and UTF-32 (was starting at second byte instead of first)
|
|
5
8
|
* Label the byte offset for forced UTF-16 and UTF-32 decodes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: yaralyzer
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
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.
|
|
22
|
+
Requires-Dist: yara-python (>=4.5.4,<5.0.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
|
|
@@ -130,10 +130,9 @@ The Yaralyzer can export visualizations to HTML, ANSI colored text, and SVG vect
|
|
|
130
130
|

|
|
131
131
|
|
|
132
132
|
|
|
133
|
-
#
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
* deal with repetitive matches
|
|
133
|
+
# Contributing
|
|
134
|
+
Contributions are more than welcome; see [CONTRIBUTING.md](CONTRIBUTING.md) for details on environment setup, running the test suite, etc. There's also a TODO list over there of work that needs to be done.
|
|
135
|
+
|
|
137
136
|
|
|
138
137
|
[^1]: As I was until recently.
|
|
139
138
|
|
|
@@ -104,9 +104,8 @@ The Yaralyzer can export visualizations to HTML, ANSI colored text, and SVG vect
|
|
|
104
104
|

|
|
105
105
|
|
|
106
106
|
|
|
107
|
-
#
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
* deal with repetitive matches
|
|
107
|
+
# Contributing
|
|
108
|
+
Contributions are more than welcome; see [CONTRIBUTING.md](CONTRIBUTING.md) for details on environment setup, running the test suite, etc. There's also a TODO list over there of work that needs to be done.
|
|
109
|
+
|
|
111
110
|
|
|
112
111
|
[^1]: As I was until recently.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "yaralyzer"
|
|
3
|
-
version = "1.0.
|
|
3
|
+
version = "1.0.2"
|
|
4
4
|
description = "Visualize and force decode YARA and regex matches found in a file or byte stream. With colors. Lots of colors."
|
|
5
5
|
authors = ["Michel de Cryptadamus <michel@cryptadamus.com>"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -44,7 +44,7 @@ chardet = "^5.0.0"
|
|
|
44
44
|
python-dotenv = "^0.21.0"
|
|
45
45
|
rich = "^12.5.1"
|
|
46
46
|
rich-argparse-plus = "^0.3.1"
|
|
47
|
-
yara-python = "^4.
|
|
47
|
+
yara-python = "^4.5.4"
|
|
48
48
|
|
|
49
49
|
[tool.poetry.group.dev.dependencies]
|
|
50
50
|
pytest = "^7.1.3"
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import json
|
|
2
2
|
import time
|
|
3
|
-
from argparse import Namespace
|
|
4
|
-
from pathlib import Path
|
|
5
3
|
from os import path
|
|
4
|
+
from typing import Optional
|
|
6
5
|
|
|
7
6
|
from rich.terminal_theme import TerminalTheme
|
|
8
7
|
|
|
@@ -51,7 +50,7 @@ _EXPORT_KWARGS = {
|
|
|
51
50
|
}
|
|
52
51
|
|
|
53
52
|
|
|
54
|
-
def export_json(yaralyzer: Yaralyzer, output_basepath: str
|
|
53
|
+
def export_json(yaralyzer: Yaralyzer, output_basepath: Optional[str]) -> str:
|
|
55
54
|
"""Export YARA scan results to JSON. Returns the path to the output file that was written."""
|
|
56
55
|
output_path = f"{output_basepath or 'yara_matches'}.json"
|
|
57
56
|
|
|
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
|