Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/nodes/analyzers/test_static_yara.py
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ def test_build_namespace_map_skips_malformed_encoded_rules(self, tmp_path):

@pytest.mark.parametrize("payload", ["not base64", "not base64 é"])
def test_malformed_extra_encoded_rule_does_not_block_builtin_rules(self, tmp_path, payload):
(tmp_path / "bad.yar.b64").write_text(payload)
(tmp_path / "bad.yar.b64").write_text(payload, encoding="utf-8")

findings = _run(_reverse_shell_fixture(), "shell.sh", str(tmp_path))

Expand Down
Loading