maco 1.2.12__tar.gz → 1.2.13__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.
Files changed (70) hide show
  1. {maco-1.2.12/maco.egg-info → maco-1.2.13}/PKG-INFO +1 -1
  2. {maco-1.2.12 → maco-1.2.13}/maco/utils.py +4 -2
  3. {maco-1.2.12 → maco-1.2.13/maco.egg-info}/PKG-INFO +1 -1
  4. {maco-1.2.12 → maco-1.2.13}/model_setup/maco/utils.py +4 -2
  5. {maco-1.2.12 → maco-1.2.13}/.gitignore +0 -0
  6. {maco-1.2.12 → maco-1.2.13}/.vscode/settings.json +0 -0
  7. {maco-1.2.12 → maco-1.2.13}/LICENSE.md +0 -0
  8. {maco-1.2.12 → maco-1.2.13}/README.md +0 -0
  9. {maco-1.2.12 → maco-1.2.13}/demo_extractors/__init__.py +0 -0
  10. {maco-1.2.12 → maco-1.2.13}/demo_extractors/complex/__init__.py +0 -0
  11. {maco-1.2.12 → maco-1.2.13}/demo_extractors/complex/complex.py +0 -0
  12. {maco-1.2.12 → maco-1.2.13}/demo_extractors/complex/complex_utils.py +0 -0
  13. {maco-1.2.12 → maco-1.2.13}/demo_extractors/elfy.py +0 -0
  14. {maco-1.2.12 → maco-1.2.13}/demo_extractors/limit_other.py +0 -0
  15. {maco-1.2.12 → maco-1.2.13}/demo_extractors/nothing.py +0 -0
  16. {maco-1.2.12 → maco-1.2.13}/demo_extractors/requirements.txt +0 -0
  17. {maco-1.2.12 → maco-1.2.13}/demo_extractors/shared.py +0 -0
  18. {maco-1.2.12 → maco-1.2.13}/demo_extractors/terminator.py +0 -0
  19. {maco-1.2.12 → maco-1.2.13}/maco/__init__.py +0 -0
  20. {maco-1.2.12 → maco-1.2.13}/maco/base_test.py +0 -0
  21. {maco-1.2.12 → maco-1.2.13}/maco/cli.py +0 -0
  22. {maco-1.2.12 → maco-1.2.13}/maco/collector.py +0 -0
  23. {maco-1.2.12 → maco-1.2.13}/maco/exceptions.py +0 -0
  24. {maco-1.2.12 → maco-1.2.13}/maco/extractor.py +0 -0
  25. {maco-1.2.12 → maco-1.2.13}/maco/model/__init__.py +0 -0
  26. {maco-1.2.12 → maco-1.2.13}/maco/model/model.py +0 -0
  27. {maco-1.2.12 → maco-1.2.13}/maco/yara.py +0 -0
  28. {maco-1.2.12 → maco-1.2.13}/maco.egg-info/SOURCES.txt +0 -0
  29. {maco-1.2.12 → maco-1.2.13}/maco.egg-info/dependency_links.txt +0 -0
  30. {maco-1.2.12 → maco-1.2.13}/maco.egg-info/entry_points.txt +0 -0
  31. {maco-1.2.12 → maco-1.2.13}/maco.egg-info/requires.txt +0 -0
  32. {maco-1.2.12 → maco-1.2.13}/maco.egg-info/top_level.txt +0 -0
  33. {maco-1.2.12 → maco-1.2.13}/model_setup/LICENSE.md +0 -0
  34. {maco-1.2.12 → maco-1.2.13}/model_setup/README.md +0 -0
  35. {maco-1.2.12 → maco-1.2.13}/model_setup/maco/__init__.py +0 -0
  36. {maco-1.2.12 → maco-1.2.13}/model_setup/maco/base_test.py +0 -0
  37. {maco-1.2.12 → maco-1.2.13}/model_setup/maco/cli.py +0 -0
  38. {maco-1.2.12 → maco-1.2.13}/model_setup/maco/collector.py +0 -0
  39. {maco-1.2.12 → maco-1.2.13}/model_setup/maco/exceptions.py +0 -0
  40. {maco-1.2.12 → maco-1.2.13}/model_setup/maco/extractor.py +0 -0
  41. {maco-1.2.12 → maco-1.2.13}/model_setup/maco/model/__init__.py +0 -0
  42. {maco-1.2.12 → maco-1.2.13}/model_setup/maco/model/model.py +0 -0
  43. {maco-1.2.12 → maco-1.2.13}/model_setup/maco/yara.py +0 -0
  44. {maco-1.2.12 → maco-1.2.13}/model_setup/pyproject.toml +0 -0
  45. {maco-1.2.12 → maco-1.2.13}/model_setup/setup.py +0 -0
  46. {maco-1.2.12 → maco-1.2.13}/pipelines/publish.yaml +0 -0
  47. {maco-1.2.12 → maco-1.2.13}/pipelines/test.yaml +0 -0
  48. {maco-1.2.12 → maco-1.2.13}/pyproject.toml +0 -0
  49. {maco-1.2.12 → maco-1.2.13}/requirements.txt +0 -0
  50. {maco-1.2.12 → maco-1.2.13}/setup.cfg +0 -0
  51. {maco-1.2.12 → maco-1.2.13}/tests/benchmark.py +0 -0
  52. {maco-1.2.12 → maco-1.2.13}/tests/data/example.txt.cart +0 -0
  53. {maco-1.2.12 → maco-1.2.13}/tests/data/trigger_complex.txt +0 -0
  54. {maco-1.2.12 → maco-1.2.13}/tests/data/trigger_complex.txt.cart +0 -0
  55. {maco-1.2.12 → maco-1.2.13}/tests/extractors/__init__.py +0 -0
  56. {maco-1.2.12 → maco-1.2.13}/tests/extractors/basic.py +0 -0
  57. {maco-1.2.12 → maco-1.2.13}/tests/extractors/basic_longer.py +0 -0
  58. {maco-1.2.12 → maco-1.2.13}/tests/extractors/bob/__init__.py +0 -0
  59. {maco-1.2.12 → maco-1.2.13}/tests/extractors/bob/bob.py +0 -0
  60. {maco-1.2.12 → maco-1.2.13}/tests/extractors/test_basic.py +0 -0
  61. {maco-1.2.12 → maco-1.2.13}/tests/pytest.ini +0 -0
  62. {maco-1.2.12 → maco-1.2.13}/tests/requirements.txt +0 -0
  63. {maco-1.2.12 → maco-1.2.13}/tests/test_base_test.py +0 -0
  64. {maco-1.2.12 → maco-1.2.13}/tests/test_cli.py +0 -0
  65. {maco-1.2.12 → maco-1.2.13}/tests/test_demo_extractors.py +0 -0
  66. {maco-1.2.12 → maco-1.2.13}/tests/test_detection.py +0 -0
  67. {maco-1.2.12 → maco-1.2.13}/tests/test_extractor.py +0 -0
  68. {maco-1.2.12 → maco-1.2.13}/tests/test_helpers.py +0 -0
  69. {maco-1.2.12 → maco-1.2.13}/tests/test_model.py +0 -0
  70. {maco-1.2.12 → maco-1.2.13}/tox.ini +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: maco
3
- Version: 1.2.12
3
+ Version: 1.2.13
4
4
  Author: sl-govau
5
5
  Maintainer: cccs-rs
6
6
  License: MIT License
@@ -70,9 +70,11 @@ import sys
70
70
  import logging
71
71
 
72
72
  try:
73
- from maco import yara
74
- except:
73
+ # Respect cases where the extractor is tied to certain version of yara-python for processing
75
74
  import yara
75
+ except:
76
+ # Otherwise fallback to MACO's interface for yara-python==4.5.x
77
+ from maco import yara
76
78
 
77
79
  from base64 import b64encode
78
80
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: maco
3
- Version: 1.2.12
3
+ Version: 1.2.13
4
4
  Author: sl-govau
5
5
  Maintainer: cccs-rs
6
6
  License: MIT License
@@ -70,9 +70,11 @@ import sys
70
70
  import logging
71
71
 
72
72
  try:
73
- from maco import yara
74
- except:
73
+ # Respect cases where the extractor is tied to certain version of yara-python for processing
75
74
  import yara
75
+ except:
76
+ # Otherwise fallback to MACO's interface for yara-python==4.5.x
77
+ from maco import yara
76
78
 
77
79
  from base64 import b64encode
78
80
 
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
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