maya-umbrella 0.13.0__tar.gz → 0.14.1__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.
- maya_umbrella-0.13.0/README.md → maya_umbrella-0.14.1/PKG-INFO +50 -1
- maya_umbrella-0.13.0/PKG-INFO → maya_umbrella-0.14.1/README.md +24 -27
- maya_umbrella-0.14.1/maya_umbrella/__version__.py +1 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/cleaner.py +7 -0
- maya_umbrella-0.14.1/maya_umbrella/locales/en_US.json +20 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/locales/zh_CN.json +4 -3
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/vaccines/vaccine3.py +3 -1
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/pyproject.toml +4 -4
- maya_umbrella-0.13.0/maya_umbrella/__version__.py +0 -1
- maya_umbrella-0.13.0/maya_umbrella/locales/en_US.json +0 -19
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/LICENSE +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/__init__.py +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/_vendor/__init__.py +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/_vendor/atomicwrites/LICENSE +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/_vendor/atomicwrites/__init__.py +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/_vendor/atomicwrites.pyi +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/_vendor/six/__init__.pyi +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/_vendor/six/moves/__init__.pyi +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/_vendor/six/moves/configparser.pyi +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/_vendor/six.LICENSE +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/_vendor/six.py +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/_vendor/vendor.txt +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/collector.py +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/constants.py +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/defender.py +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/filesystem.py +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/hooks/__init__.py +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/hooks/delete_turtle.py +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/hooks/delete_unknown_plugin_node.py +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/hooks/fix_model_panel.py +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/hooks/fix_no_scene_name.py +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/hooks/fix_on_model_change_3dc.py +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/i18n.py +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/log.py +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/maya_funs.py +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/scanner.py +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/signatures.py +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/vaccine.py +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/vaccines/__init__.py +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/vaccines/vaccine1.py +0 -0
- {maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/vaccines/vaccine2.py +0 -0
|
@@ -1,4 +1,29 @@
|
|
|
1
|
-
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: maya_umbrella
|
|
3
|
+
Version: 0.14.1
|
|
4
|
+
Summary: A better Autodesk Maya antivirus tool detects and removes malicious.
|
|
5
|
+
Home-page: https://github.com/loonghao/maya_umbrella
|
|
6
|
+
License: MIT
|
|
7
|
+
Keywords: Autodesk Maya,python,Maya,dcc,antivirus,Security Tools,maya_umbrella
|
|
8
|
+
Author: longhao
|
|
9
|
+
Author-email: hal.long@outlook.com
|
|
10
|
+
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
+
Classifier: Programming Language :: Python :: 2
|
|
13
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Project-URL: Documentation, https://github.com/loonghao/maya_umbrella
|
|
23
|
+
Project-URL: Repository, https://github.com/loonghao/maya_umbrella
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
|
|
26
|
+

|
|
2
27
|
|
|
3
28
|
[](https://img.shields.io/pypi/pyversions/maya-umbrella)
|
|
4
29
|
[](https://github.com/wntrblm/nox)
|
|
@@ -21,6 +46,8 @@
|
|
|
21
46
|
[](#contributors-)
|
|
22
47
|
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
23
48
|
|
|
49
|
+
A better Autodesk Maya antivirus tool detects and removes malicious.
|
|
50
|
+
|
|
24
51
|
This tool is designed to provide a robust solution for identifying and resolving any potential viruses within Autodesk
|
|
25
52
|
Maya.
|
|
26
53
|
It ensures a secure and seamless user experience by proactively scanning for threats and effectively neutralizing them.
|
|
@@ -30,11 +57,15 @@ It can be provided as an API for seamless integration into your existing pipelin
|
|
|
30
57
|
# 安装
|
|
31
58
|
|
|
32
59
|
## pip 安装
|
|
60
|
+
maya_umbrella is distributed as a standard pipy package, so we can install it via pip install.
|
|
61
|
+
|
|
33
62
|
maya_umbrella是以标准pipy包去发布的,所以我们可以通过pip install去安装
|
|
34
63
|
```shell
|
|
35
64
|
your/maya-root/mayapy -m pip install maya-umbrella
|
|
36
65
|
```
|
|
37
66
|
## 一键安装
|
|
67
|
+
Download the corresponding version of the zip package in the release, unzip it and double-click `install.bat` to install it.
|
|
68
|
+
|
|
38
69
|
在release里面下载对应版本的zip包,解压后双击`install.bat`即可安装
|
|
39
70
|
|
|
40
71
|
更新版本
|
|
@@ -63,13 +94,21 @@ pip install -r requirements-dev.txt
|
|
|
63
94
|
|
|
64
95
|
|
|
65
96
|
## 在maya中测试
|
|
97
|
+
With `nox -s maya -- <maya version>`, start maya.
|
|
98
|
+
Nox will dynamically register a nox session based on your local installation of maya,
|
|
99
|
+
e.g. if you have `maya-2020` installed locally, then you can start maya with a test environment.
|
|
100
|
+
Then you can start maya with a test environment via
|
|
66
101
|
|
|
67
102
|
通过`nox -s maya -- <maya version>`, 启动maya.
|
|
68
103
|
nox会动态根据你本地安装得maya去注册nox session, 比如你本地安装了`maya-2020`,
|
|
69
104
|
那么通过可以启动带有测试环境的maya
|
|
105
|
+
|
|
70
106
|
```shell
|
|
71
107
|
nox -s maya -- 2018
|
|
72
108
|
```
|
|
109
|
+
**Note: there are two `-` between maya and the version number**.
|
|
110
|
+
|
|
111
|
+
Starting maya and executing the following code in the script editor will dynamically open the ma file from `<repo>/tests/virus/` to test it.
|
|
73
112
|
|
|
74
113
|
**注意:maya 与 版本号之间有 俩个`-`**
|
|
75
114
|
|
|
@@ -80,23 +119,29 @@ import manual_test_in_maya
|
|
|
80
119
|
|
|
81
120
|
manual_test_in_maya.start()
|
|
82
121
|
```
|
|
122
|
+
It is also possible to execute the corresponding tests via pytest, which also requires a local installation of the corresponding maya
|
|
83
123
|
|
|
84
124
|
也可以通过pytest去执行对应的测试,也需要本地安装了对应的maya
|
|
85
125
|
|
|
86
126
|
```shell
|
|
87
127
|
nox -s maya -- 2018 --test
|
|
88
128
|
```
|
|
129
|
+
**Note: Command line crash may occur in versions below maya-2022 (PY2)**.
|
|
89
130
|
|
|
90
131
|
**注意:在maya-2022 (PY2) 以下的版本可能会出现命令行crash的情况**
|
|
91
132
|
|
|
92
133
|
|
|
93
134
|
## 增加新的疫苗
|
|
135
|
+
Create a new py in `<repo>/maya_umbrella/vaccines/`, since many viruses don't have a specific name, we'll use `vaccine<id>.py`.
|
|
136
|
+
Inherit `from maya_umbrella.vaccine import AbstractVaccine` and call the class `Vaccine`, and then write the virus collection logic.
|
|
94
137
|
|
|
95
138
|
在`<repo>/maya_umbrella/vaccines/` 新建一个py, 因为有很多病毒没有具体的名字代号,我们统一以`vaccine<id>.py`
|
|
96
139
|
继承`from maya_umbrella.vaccine import AbstractVaccine`并且class名字叫`Vaccine`即可, 然后去写具体的收集病毒逻辑
|
|
97
140
|
|
|
98
141
|
## 代码检查
|
|
99
142
|
|
|
143
|
+
We can use the encapsulated `nox` command to perform a code check.
|
|
144
|
+
|
|
100
145
|
我们可以利用封装好的`nox`命令去执行进行代码检查
|
|
101
146
|
|
|
102
147
|
```shell
|
|
@@ -109,6 +154,9 @@ nox -s lint-fix
|
|
|
109
154
|
```
|
|
110
155
|
|
|
111
156
|
# 生成安装包
|
|
157
|
+
Execute the following command to create a zip under <repo>/.zip, with `--version` the version number of the current tool.
|
|
158
|
+
|
|
159
|
+
**Note: between `make-zip` and `--version` there are two `-`**.
|
|
112
160
|
|
|
113
161
|
执行下面的命令可以在<repo>/.zip下面创建zip,参数 `--version` 当前工具的版本号
|
|
114
162
|
|
|
@@ -235,3 +283,4 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
235
283
|
|
|
236
284
|
This project follows the [all-contributors](https://allcontributors.org) specification.
|
|
237
285
|
Contributions of any kind are welcome!
|
|
286
|
+
|
|
@@ -1,29 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Name: maya_umbrella
|
|
3
|
-
Version: 0.13.0
|
|
4
|
-
Summary: Check and fix maya virus.
|
|
5
|
-
Home-page: https://github.com/loonghao/maya_umbrella
|
|
6
|
-
License: MIT
|
|
7
|
-
Keywords: notifiers,python,Maya,dcc
|
|
8
|
-
Author: longhao
|
|
9
|
-
Author-email: hal.long@outlook.com
|
|
10
|
-
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*
|
|
11
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
-
Classifier: Programming Language :: Python :: 2
|
|
13
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
14
|
-
Classifier: Programming Language :: Python :: 3
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
-
Project-URL: Documentation, https://github.com/loonghao/maya_umbrella
|
|
23
|
-
Project-URL: Repository, https://github.com/loonghao/maya_umbrella
|
|
24
|
-
Description-Content-Type: text/markdown
|
|
25
|
-
|
|
26
|
-
# maya-umbrella
|
|
1
|
+

|
|
27
2
|
|
|
28
3
|
[](https://img.shields.io/pypi/pyversions/maya-umbrella)
|
|
29
4
|
[](https://github.com/wntrblm/nox)
|
|
@@ -46,6 +21,8 @@ Description-Content-Type: text/markdown
|
|
|
46
21
|
[](#contributors-)
|
|
47
22
|
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
48
23
|
|
|
24
|
+
A better Autodesk Maya antivirus tool detects and removes malicious.
|
|
25
|
+
|
|
49
26
|
This tool is designed to provide a robust solution for identifying and resolving any potential viruses within Autodesk
|
|
50
27
|
Maya.
|
|
51
28
|
It ensures a secure and seamless user experience by proactively scanning for threats and effectively neutralizing them.
|
|
@@ -55,11 +32,15 @@ It can be provided as an API for seamless integration into your existing pipelin
|
|
|
55
32
|
# 安装
|
|
56
33
|
|
|
57
34
|
## pip 安装
|
|
35
|
+
maya_umbrella is distributed as a standard pipy package, so we can install it via pip install.
|
|
36
|
+
|
|
58
37
|
maya_umbrella是以标准pipy包去发布的,所以我们可以通过pip install去安装
|
|
59
38
|
```shell
|
|
60
39
|
your/maya-root/mayapy -m pip install maya-umbrella
|
|
61
40
|
```
|
|
62
41
|
## 一键安装
|
|
42
|
+
Download the corresponding version of the zip package in the release, unzip it and double-click `install.bat` to install it.
|
|
43
|
+
|
|
63
44
|
在release里面下载对应版本的zip包,解压后双击`install.bat`即可安装
|
|
64
45
|
|
|
65
46
|
更新版本
|
|
@@ -88,13 +69,21 @@ pip install -r requirements-dev.txt
|
|
|
88
69
|
|
|
89
70
|
|
|
90
71
|
## 在maya中测试
|
|
72
|
+
With `nox -s maya -- <maya version>`, start maya.
|
|
73
|
+
Nox will dynamically register a nox session based on your local installation of maya,
|
|
74
|
+
e.g. if you have `maya-2020` installed locally, then you can start maya with a test environment.
|
|
75
|
+
Then you can start maya with a test environment via
|
|
91
76
|
|
|
92
77
|
通过`nox -s maya -- <maya version>`, 启动maya.
|
|
93
78
|
nox会动态根据你本地安装得maya去注册nox session, 比如你本地安装了`maya-2020`,
|
|
94
79
|
那么通过可以启动带有测试环境的maya
|
|
80
|
+
|
|
95
81
|
```shell
|
|
96
82
|
nox -s maya -- 2018
|
|
97
83
|
```
|
|
84
|
+
**Note: there are two `-` between maya and the version number**.
|
|
85
|
+
|
|
86
|
+
Starting maya and executing the following code in the script editor will dynamically open the ma file from `<repo>/tests/virus/` to test it.
|
|
98
87
|
|
|
99
88
|
**注意:maya 与 版本号之间有 俩个`-`**
|
|
100
89
|
|
|
@@ -105,23 +94,29 @@ import manual_test_in_maya
|
|
|
105
94
|
|
|
106
95
|
manual_test_in_maya.start()
|
|
107
96
|
```
|
|
97
|
+
It is also possible to execute the corresponding tests via pytest, which also requires a local installation of the corresponding maya
|
|
108
98
|
|
|
109
99
|
也可以通过pytest去执行对应的测试,也需要本地安装了对应的maya
|
|
110
100
|
|
|
111
101
|
```shell
|
|
112
102
|
nox -s maya -- 2018 --test
|
|
113
103
|
```
|
|
104
|
+
**Note: Command line crash may occur in versions below maya-2022 (PY2)**.
|
|
114
105
|
|
|
115
106
|
**注意:在maya-2022 (PY2) 以下的版本可能会出现命令行crash的情况**
|
|
116
107
|
|
|
117
108
|
|
|
118
109
|
## 增加新的疫苗
|
|
110
|
+
Create a new py in `<repo>/maya_umbrella/vaccines/`, since many viruses don't have a specific name, we'll use `vaccine<id>.py`.
|
|
111
|
+
Inherit `from maya_umbrella.vaccine import AbstractVaccine` and call the class `Vaccine`, and then write the virus collection logic.
|
|
119
112
|
|
|
120
113
|
在`<repo>/maya_umbrella/vaccines/` 新建一个py, 因为有很多病毒没有具体的名字代号,我们统一以`vaccine<id>.py`
|
|
121
114
|
继承`from maya_umbrella.vaccine import AbstractVaccine`并且class名字叫`Vaccine`即可, 然后去写具体的收集病毒逻辑
|
|
122
115
|
|
|
123
116
|
## 代码检查
|
|
124
117
|
|
|
118
|
+
We can use the encapsulated `nox` command to perform a code check.
|
|
119
|
+
|
|
125
120
|
我们可以利用封装好的`nox`命令去执行进行代码检查
|
|
126
121
|
|
|
127
122
|
```shell
|
|
@@ -134,6 +129,9 @@ nox -s lint-fix
|
|
|
134
129
|
```
|
|
135
130
|
|
|
136
131
|
# 生成安装包
|
|
132
|
+
Execute the following command to create a zip under <repo>/.zip, with `--version` the version number of the current tool.
|
|
133
|
+
|
|
134
|
+
**Note: between `make-zip` and `--version` there are two `-`**.
|
|
137
135
|
|
|
138
136
|
执行下面的命令可以在<repo>/.zip下面创建zip,参数 `--version` 当前工具的版本号
|
|
139
137
|
|
|
@@ -260,4 +258,3 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
260
258
|
|
|
261
259
|
This project follows the [all-contributors](https://allcontributors.org) specification.
|
|
262
260
|
Contributions of any kind are welcome!
|
|
263
|
-
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.14.1"
|
|
@@ -22,6 +22,7 @@ class MayaVirusCleaner(object):
|
|
|
22
22
|
translator (Translator): Translator object for translation purposes.
|
|
23
23
|
collector (MayaVirusCollector): MayaVirusCollector object for collecting issues.
|
|
24
24
|
"""
|
|
25
|
+
|
|
25
26
|
def __init__(self, collector, logger=None):
|
|
26
27
|
"""Initialize the MayaVirusCleaner.
|
|
27
28
|
|
|
@@ -50,6 +51,9 @@ class MayaVirusCleaner(object):
|
|
|
50
51
|
def fix_malicious_files(self):
|
|
51
52
|
"""Fix malicious files."""
|
|
52
53
|
for file_ in self.collector.malicious_files:
|
|
54
|
+
if not os.access(file_, os.W_OK):
|
|
55
|
+
self.logger.debug(self.translator.translate("file_not_writable", name=file_))
|
|
56
|
+
continue
|
|
53
57
|
if os.path.exists(file_):
|
|
54
58
|
if os.path.isfile(file_):
|
|
55
59
|
self.logger.debug(self.translator.translate("remove_file", name=file_))
|
|
@@ -94,6 +98,9 @@ class MayaVirusCleaner(object):
|
|
|
94
98
|
"""Fix infected files."""
|
|
95
99
|
for file_path in self.collector.infected_files:
|
|
96
100
|
self.logger.info(self.translator.translate("fix_infected_files", name=file_path))
|
|
101
|
+
if not os.access(file_path, os.W_OK):
|
|
102
|
+
self.logger.debug(self.translator.translate("file_not_writable", name=file_path))
|
|
103
|
+
continue
|
|
97
104
|
remove_virus_file_by_signature(file_path, FILE_VIRUS_SIGNATURES)
|
|
98
105
|
self.collector.remove_infected_file(file_path)
|
|
99
106
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"start_fix_issues": "Start fixing all problems related to Maya virus $name",
|
|
3
|
+
"finish_fix_issues": "Repair completed.",
|
|
4
|
+
"init_message": "Successfully loaded <hl>maya_umbrella</hl> protection.",
|
|
5
|
+
"init_standalone_message": "----------------------- successfully loaded maya_umbrella-----------------------",
|
|
6
|
+
"report_issue": "$name: Maliciously infected!",
|
|
7
|
+
"infected_nodes": "Infected node: $name:",
|
|
8
|
+
"bad_files": "Files to be cleaned up: $name",
|
|
9
|
+
"infected_script_jobs": "Infected Script jobs: $name",
|
|
10
|
+
"infected_files": "Infected file: $name",
|
|
11
|
+
"infected_reference_files": "Infected reference file: $name",
|
|
12
|
+
"fix_infected_files": "Clean up infected files: $name",
|
|
13
|
+
"fix_infected_nodes": "Delete infected node: $name",
|
|
14
|
+
"fix_infected_reference_nodes": "Attempt to repair the infected reference node: $name",
|
|
15
|
+
"delete": "Delete infected files: $name",
|
|
16
|
+
"remove_file": "Delete file: $name",
|
|
17
|
+
"remove_path": "Delete folder: $name",
|
|
18
|
+
"fix_script_job": "Delete infected node: $name",
|
|
19
|
+
"file_not_writable": "The file is not writable: $name"
|
|
20
|
+
}
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
"report_issue": "$name:被恶意感染!",
|
|
7
7
|
"infected_nodes": "被感染节点:$name: ",
|
|
8
8
|
"bad_files": "需要被清理的文件:$name",
|
|
9
|
-
"infected_script_jobs": "被感染的
|
|
10
|
-
"infected_files": "
|
|
9
|
+
"infected_script_jobs": "被感染的Script jobs:$name",
|
|
10
|
+
"infected_files": "被感染的文件:$name",
|
|
11
11
|
"infected_reference_files": "被感染的参考文件:$name",
|
|
12
12
|
"fix_infected_files": "清理被感染的文件:$name",
|
|
13
13
|
"fix_infected_nodes": "删除被感染的节点:$name",
|
|
@@ -15,5 +15,6 @@
|
|
|
15
15
|
"delete": "删除感染文件:$name",
|
|
16
16
|
"remove_file": "删除文件:$name",
|
|
17
17
|
"remove_path": "删除文件夹:$name",
|
|
18
|
-
"fix_script_job": "删除被感染的节点:$name"
|
|
18
|
+
"fix_script_job": "删除被感染的节点:$name",
|
|
19
|
+
"file_not_writable": "文件不可写:$name"
|
|
19
20
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Import built-in modules
|
|
2
2
|
import glob
|
|
3
3
|
import os
|
|
4
|
+
import platform
|
|
4
5
|
|
|
5
6
|
# Import local modules
|
|
6
7
|
from maya_umbrella.filesystem import check_virus_by_signature
|
|
@@ -81,7 +82,8 @@ class Vaccine(AbstractVaccine):
|
|
|
81
82
|
|
|
82
83
|
def collect_issues(self):
|
|
83
84
|
"""Collect all issues related to the virus."""
|
|
84
|
-
|
|
85
|
+
if platform.system() == "Windows":
|
|
86
|
+
self.api.add_malicious_file(os.path.join(os.getenv("APPDATA"), "syssst"))
|
|
85
87
|
self.collect_infected_mel_files()
|
|
86
88
|
self.collect_infected_hik_files()
|
|
87
89
|
self.collect_infected_nodes()
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "maya_umbrella"
|
|
3
|
-
version = "0.
|
|
4
|
-
description = "
|
|
3
|
+
version = "0.14.1"
|
|
4
|
+
description = "A better Autodesk Maya antivirus tool detects and removes malicious."
|
|
5
5
|
homepage = "https://github.com/loonghao/maya_umbrella"
|
|
6
6
|
repository = "https://github.com/loonghao/maya_umbrella"
|
|
7
7
|
documentation = "https://github.com/loonghao/maya_umbrella"
|
|
8
|
-
keywords = ["
|
|
8
|
+
keywords = ["Autodesk Maya", "python", "Maya", "dcc", "antivirus", "Security Tools", "maya_umbrella"]
|
|
9
9
|
authors = ["longhao <hal.long@outlook.com>"]
|
|
10
10
|
license = "MIT"
|
|
11
11
|
readme = "README.md"
|
|
@@ -36,7 +36,7 @@ nox = { version = "^2024.3.2", python = ">=3.8.1,<3.11" }
|
|
|
36
36
|
|
|
37
37
|
[tool.commitizen]
|
|
38
38
|
name = "cz_conventional_commits"
|
|
39
|
-
version = "0.
|
|
39
|
+
version = "0.14.1"
|
|
40
40
|
tag_format = "v$version"
|
|
41
41
|
version_files = [
|
|
42
42
|
"pyproject.toml:version",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.13.0"
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"start_fix_issues": "Start fixing all problems related to Maya virus $name",
|
|
3
|
-
"finish_fix_issues": "Done.",
|
|
4
|
-
"init_message": "Successfully loaded <hl>maya_umbrella</hl> under protection.",
|
|
5
|
-
"init_standalone_message": "-----------------------Loading maya_umbrella successfully----------------------",
|
|
6
|
-
"report_issue": "$name: Infected by Malware!",
|
|
7
|
-
"infected_nodes": "Infected nodes: $name: ",
|
|
8
|
-
"bad_files": "Bad files: $name",
|
|
9
|
-
"infected_script_jobs": "Infected script jobs: $name",
|
|
10
|
-
"infected_files": "Infected files: $name",
|
|
11
|
-
"infected_reference_files": "Infected reference files: $name",
|
|
12
|
-
"fix_infected_files": "Clean infected files: $name",
|
|
13
|
-
"fix_infected_nodes": "Delete infected nodes:$name",
|
|
14
|
-
"fix_infected_reference_nodes": "trying fix infected nodes from reference:$name",
|
|
15
|
-
"delete": "Deleting: $name",
|
|
16
|
-
"remove_file": "Deleting file:$name",
|
|
17
|
-
"remove_path": "Deleting path:$name",
|
|
18
|
-
"fix_script_job": "Kill script job: %s"
|
|
19
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/_vendor/atomicwrites/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/_vendor/six/moves/configparser.pyi
RENAMED
|
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
|
{maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/hooks/delete_unknown_plugin_node.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{maya_umbrella-0.13.0 → maya_umbrella-0.14.1}/maya_umbrella/hooks/fix_on_model_change_3dc.py
RENAMED
|
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
|