maco 1.2.18__py3-none-any.whl → 1.2.19__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.
@@ -122,6 +122,7 @@ class Collector:
122
122
  "author": member.author,
123
123
  "last_modified": member.last_modified,
124
124
  "sharing": member.sharing,
125
+ "result_sharing": member.result_sharing,
125
126
  "description": member.__doc__,
126
127
  },
127
128
  )
@@ -25,7 +25,8 @@ class Extractor:
25
25
  family: Union[str, List[str]] = None # family or families of malware that is detected by the extractor
26
26
  author: str = None # author of the extractor (name@organisation)
27
27
  last_modified: str = None # last modified date (YYYY-MM-DD)
28
- sharing: str = "TLP:WHITE" # who can this be shared with?
28
+ sharing: str = "TLP:CLEAR" # who can this be shared with?
29
+ result_sharing: str = sharing # who can the results be shared with? (defaults to sharing)
29
30
  yara_rule: str = None # yara rule that we filter inputs with
30
31
  reference: str = None # link to malware report or other reference information
31
32
  logger: logging.Logger = None # logger for use when debugging
maco/collector.py CHANGED
@@ -122,6 +122,7 @@ class Collector:
122
122
  "author": member.author,
123
123
  "last_modified": member.last_modified,
124
124
  "sharing": member.sharing,
125
+ "result_sharing": member.result_sharing,
125
126
  "description": member.__doc__,
126
127
  },
127
128
  )
maco/extractor.py CHANGED
@@ -25,7 +25,8 @@ class Extractor:
25
25
  family: Union[str, List[str]] = None # family or families of malware that is detected by the extractor
26
26
  author: str = None # author of the extractor (name@organisation)
27
27
  last_modified: str = None # last modified date (YYYY-MM-DD)
28
- sharing: str = "TLP:WHITE" # who can this be shared with?
28
+ sharing: str = "TLP:CLEAR" # who can this be shared with?
29
+ result_sharing: str = sharing # who can the results be shared with? (defaults to sharing)
29
30
  yara_rule: str = None # yara rule that we filter inputs with
30
31
  reference: str = None # link to malware report or other reference information
31
32
  logger: logging.Logger = None # logger for use when debugging
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maco
3
- Version: 1.2.18
3
+ Version: 1.2.19
4
4
  Summary: Maco is a framework for creating and using malware configuration extractors.
5
5
  Author: sl-govau
6
6
  Maintainer: cccs-rs
@@ -11,9 +11,9 @@ demo_extractors/complex/complex_utils.py,sha256=5kdMl-niSH9d-d3ChuItpmlPT4U-S9g-
11
11
  extractor_setup/maco/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
12
  extractor_setup/maco/base_test.py,sha256=DrVE7vOazeLQpOQeIDwBYK1WtlmdJrRe50JOqP5t4Y0,3198
13
13
  extractor_setup/maco/cli.py,sha256=nrSukAJAthbstZT3-lQNPz4zOOMcBhvfYQqLh_B5Jdk,9457
14
- extractor_setup/maco/collector.py,sha256=R3zw-fUJBlwmcSqvkQ-PnoJdHfRm2V0JAOl7N8MTAbY,8240
14
+ extractor_setup/maco/collector.py,sha256=I0Nidf4-xcvoe6X0bbCsAXjr66iPf00JDO6ocKkaZLc,8309
15
15
  extractor_setup/maco/exceptions.py,sha256=XBHUrs1kr1ZayPI9B_W-WejKgVmC8sWL_o4RL0b4DQE,745
16
- extractor_setup/maco/extractor.py,sha256=s36aGcsXSc-9iCik6iihVt5G1a1DZUA7TquvWYQNwdE,2912
16
+ extractor_setup/maco/extractor.py,sha256=nqIfUcrc_l57FicKZc6HLtN223-_zkYWL1AYMy1WAmA,3007
17
17
  extractor_setup/maco/utils.py,sha256=yNm5CiHc9033ONX_gFwg9Lng5IYFujLDtw6FfiJkAao,23425
18
18
  extractor_setup/maco/yara.py,sha256=y141t8NqDDXHY23uE1d6BDPeNmSuUuohR6Yr_LKa7GI,4067
19
19
  extractor_setup/maco/model/__init__.py,sha256=ULdyHx8R5D2ICHZo3VoCk1YTlewTok36TYIpwx__pNY,45
@@ -21,25 +21,25 @@ extractor_setup/maco/model/model.py,sha256=DBHTmZXMzjpVq0s2mzZv3VCzPhwPnv7sH6u_Q
21
21
  maco/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
22
  maco/base_test.py,sha256=DrVE7vOazeLQpOQeIDwBYK1WtlmdJrRe50JOqP5t4Y0,3198
23
23
  maco/cli.py,sha256=nrSukAJAthbstZT3-lQNPz4zOOMcBhvfYQqLh_B5Jdk,9457
24
- maco/collector.py,sha256=R3zw-fUJBlwmcSqvkQ-PnoJdHfRm2V0JAOl7N8MTAbY,8240
24
+ maco/collector.py,sha256=I0Nidf4-xcvoe6X0bbCsAXjr66iPf00JDO6ocKkaZLc,8309
25
25
  maco/exceptions.py,sha256=XBHUrs1kr1ZayPI9B_W-WejKgVmC8sWL_o4RL0b4DQE,745
26
- maco/extractor.py,sha256=s36aGcsXSc-9iCik6iihVt5G1a1DZUA7TquvWYQNwdE,2912
26
+ maco/extractor.py,sha256=nqIfUcrc_l57FicKZc6HLtN223-_zkYWL1AYMy1WAmA,3007
27
27
  maco/utils.py,sha256=yNm5CiHc9033ONX_gFwg9Lng5IYFujLDtw6FfiJkAao,23425
28
28
  maco/yara.py,sha256=y141t8NqDDXHY23uE1d6BDPeNmSuUuohR6Yr_LKa7GI,4067
29
29
  maco/model/__init__.py,sha256=ULdyHx8R5D2ICHZo3VoCk1YTlewTok36TYIpwx__pNY,45
30
30
  maco/model/model.py,sha256=DBHTmZXMzjpVq0s2mzZv3VCzPhwPnv7sH6u_QZCTcA4,24484
31
- maco-1.2.18.dist-info/licenses/LICENSE.md,sha256=gMSjshPhXvV_F1qxmeNkKdBqGWkd__fEJf4glS504bM,1478
31
+ maco-1.2.19.dist-info/licenses/LICENSE.md,sha256=gMSjshPhXvV_F1qxmeNkKdBqGWkd__fEJf4glS504bM,1478
32
32
  model_setup/maco/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
33
  model_setup/maco/base_test.py,sha256=DrVE7vOazeLQpOQeIDwBYK1WtlmdJrRe50JOqP5t4Y0,3198
34
34
  model_setup/maco/cli.py,sha256=nrSukAJAthbstZT3-lQNPz4zOOMcBhvfYQqLh_B5Jdk,9457
35
- model_setup/maco/collector.py,sha256=R3zw-fUJBlwmcSqvkQ-PnoJdHfRm2V0JAOl7N8MTAbY,8240
35
+ model_setup/maco/collector.py,sha256=I0Nidf4-xcvoe6X0bbCsAXjr66iPf00JDO6ocKkaZLc,8309
36
36
  model_setup/maco/exceptions.py,sha256=XBHUrs1kr1ZayPI9B_W-WejKgVmC8sWL_o4RL0b4DQE,745
37
- model_setup/maco/extractor.py,sha256=s36aGcsXSc-9iCik6iihVt5G1a1DZUA7TquvWYQNwdE,2912
37
+ model_setup/maco/extractor.py,sha256=nqIfUcrc_l57FicKZc6HLtN223-_zkYWL1AYMy1WAmA,3007
38
38
  model_setup/maco/utils.py,sha256=yNm5CiHc9033ONX_gFwg9Lng5IYFujLDtw6FfiJkAao,23425
39
39
  model_setup/maco/yara.py,sha256=y141t8NqDDXHY23uE1d6BDPeNmSuUuohR6Yr_LKa7GI,4067
40
40
  model_setup/maco/model/__init__.py,sha256=ULdyHx8R5D2ICHZo3VoCk1YTlewTok36TYIpwx__pNY,45
41
41
  model_setup/maco/model/model.py,sha256=DBHTmZXMzjpVq0s2mzZv3VCzPhwPnv7sH6u_QZCTcA4,24484
42
- pipelines/publish.yaml,sha256=yjc3eqrI-LHLSfZ0DPtxwdfPDT0NI6LUA_zy61UxN_8,1654
42
+ pipelines/publish.yaml,sha256=BfsbDsg2ijtXF8lhRUjzkenw3zi2mL7ESNv3KuC1cVE,1626
43
43
  pipelines/test.yaml,sha256=btJVI-R39UBeYosGu7TOpU6V9ogFW3FT3ROtWygQGQ0,1472
44
44
  tests/data/example.txt.cart,sha256=j4ZdDnFNVq7lb-Qi4pY4evOXKQPKG-GSg-n-uEqPhV0,289
45
45
  tests/data/trigger_complex.txt,sha256=uqnLSrnyDGCmXwuPmZ2s8vdhH0hJs8DxvyaW_tuYY24,64
@@ -52,8 +52,8 @@ tests/extractors/bob/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
52
52
  tests/extractors/bob/bob.py,sha256=4fpqy_O6NDinJImghyW5OwYgnaB05aY4kgoIS_C3c_U,253
53
53
  tests/extractors/import_rewriting/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
54
54
  tests/extractors/import_rewriting/importer.py,sha256=wqF1AG2zXXuj9EMt9qlDorab-UD0GYuFggtrCuz4sf0,289735
55
- maco-1.2.18.dist-info/METADATA,sha256=citbYasnfKhc-PAxK7tLQt_Dc2LZRbhKn26ChD0PC3g,15310
56
- maco-1.2.18.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
57
- maco-1.2.18.dist-info/entry_points.txt,sha256=TpcwG1gedIg8Y7a9ZOv8aQpuwEUftCefDrAjzeP-o6U,39
58
- maco-1.2.18.dist-info/top_level.txt,sha256=xiVS11ZoyN8ChHJQGpOzTH4ZyQ3YJe1qT3Yt4gcKGUk,65
59
- maco-1.2.18.dist-info/RECORD,,
55
+ maco-1.2.19.dist-info/METADATA,sha256=bcX2cXg2jbw6epAkczHoP9WOlcRTKcFtutfrVAc3mIg,15310
56
+ maco-1.2.19.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
57
+ maco-1.2.19.dist-info/entry_points.txt,sha256=TpcwG1gedIg8Y7a9ZOv8aQpuwEUftCefDrAjzeP-o6U,39
58
+ maco-1.2.19.dist-info/top_level.txt,sha256=xiVS11ZoyN8ChHJQGpOzTH4ZyQ3YJe1qT3Yt4gcKGUk,65
59
+ maco-1.2.19.dist-info/RECORD,,
@@ -122,6 +122,7 @@ class Collector:
122
122
  "author": member.author,
123
123
  "last_modified": member.last_modified,
124
124
  "sharing": member.sharing,
125
+ "result_sharing": member.result_sharing,
125
126
  "description": member.__doc__,
126
127
  },
127
128
  )
@@ -25,7 +25,8 @@ class Extractor:
25
25
  family: Union[str, List[str]] = None # family or families of malware that is detected by the extractor
26
26
  author: str = None # author of the extractor (name@organisation)
27
27
  last_modified: str = None # last modified date (YYYY-MM-DD)
28
- sharing: str = "TLP:WHITE" # who can this be shared with?
28
+ sharing: str = "TLP:CLEAR" # who can this be shared with?
29
+ result_sharing: str = sharing # who can the results be shared with? (defaults to sharing)
29
30
  yara_rule: str = None # yara rule that we filter inputs with
30
31
  reference: str = None # link to malware report or other reference information
31
32
  logger: logging.Logger = None # logger for use when debugging
pipelines/publish.yaml CHANGED
@@ -12,33 +12,34 @@ pool:
12
12
  vmImage: "ubuntu-22.04"
13
13
 
14
14
  jobs:
15
- # - job: test
16
- # displayName: Test
17
- # strategy:
18
- # matrix:
19
- # Python38:
20
- # python.version: '3.8'
21
- # Python39:
22
- # python.version: '3.9'
23
- # Python310:
24
- # python.version: '3.10'
25
- # Python311:
26
- # python.version: '3.11'
27
- # Python312:
28
- # python.version: '3.12'
29
- # steps:
30
- # - task: UsePythonVersion@0
31
- # displayName: 'Use Python $(python.version)'
32
- # inputs:
33
- # versionSpec: '$(python.version)'
15
+ - job: test
16
+ displayName: Test
17
+ strategy:
18
+ matrix:
19
+ Python38:
20
+ python.version: '3.8'
21
+ Python39:
22
+ python.version: '3.9'
23
+ Python310:
24
+ python.version: '3.10'
25
+ Python311:
26
+ python.version: '3.11'
27
+ Python312:
28
+ python.version: '3.12'
29
+ steps:
30
+ - task: UsePythonVersion@0
31
+ displayName: 'Use Python $(python.version)'
32
+ inputs:
33
+ versionSpec: '$(python.version)'
34
34
 
35
- # - script: |
36
- # set -x
35
+ - script: |
36
+ set -x
37
37
 
38
- # python -m pip install -U tox
39
- # python -m tox -e py
38
+ python -m pip install -U tox
39
+ python -m tox -e py
40
40
 
41
41
  - job: build_and_deploy
42
+ dependsOn: test
42
43
  displayName: Build and Deploy
43
44
  variables:
44
45
  - group: deployment-information
File without changes