secator 0.16.1__py3-none-any.whl → 0.16.2__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.
Potentially problematic release.
This version of secator might be problematic. Click here for more details.
- secator/loader.py +12 -1
- secator/runners/_base.py +1 -1
- {secator-0.16.1.dist-info → secator-0.16.2.dist-info}/METADATA +1 -1
- {secator-0.16.1.dist-info → secator-0.16.2.dist-info}/RECORD +7 -7
- {secator-0.16.1.dist-info → secator-0.16.2.dist-info}/WHEEL +0 -0
- {secator-0.16.1.dist-info → secator-0.16.2.dist-info}/entry_points.txt +0 -0
- {secator-0.16.1.dist-info → secator-0.16.2.dist-info}/licenses/LICENSE +0 -0
secator/loader.py
CHANGED
|
@@ -37,7 +37,18 @@ def find_templates():
|
|
|
37
37
|
def get_configs_by_type(type):
|
|
38
38
|
if type == 'task':
|
|
39
39
|
tasks = discover_tasks()
|
|
40
|
-
task_config = [TemplateLoader({
|
|
40
|
+
task_config = [TemplateLoader({
|
|
41
|
+
'name': cls.__name__,
|
|
42
|
+
'type': 'task',
|
|
43
|
+
'description': cls.__doc__,
|
|
44
|
+
'input_types': cls.input_types,
|
|
45
|
+
'output_types': [t.get_name() for t in cls.output_types],
|
|
46
|
+
'proxychains': getattr(cls, 'proxychains', True),
|
|
47
|
+
'proxy_socks5': getattr(cls, 'proxy_socks5', True),
|
|
48
|
+
'proxy_http': getattr(cls, 'proxy_http', True),
|
|
49
|
+
'default_cmd': cls.cmd,
|
|
50
|
+
'install_cmd': cls.install_cmd,
|
|
51
|
+
}) for cls in tasks] # noqa: E501
|
|
41
52
|
return sorted(task_config, key=lambda x: x['name'])
|
|
42
53
|
return sorted([t for t in find_templates() if t.type == type], key=lambda x: x.name)
|
|
43
54
|
|
secator/runners/_base.py
CHANGED
|
@@ -132,7 +132,7 @@ class Runner:
|
|
|
132
132
|
self.enable_duplicate_check = self.run_opts.get('enable_duplicate_check', True)
|
|
133
133
|
self.enable_profiles = self.run_opts.get('enable_profiles', True)
|
|
134
134
|
self.enable_reports = self.run_opts.get('enable_reports', not self.sync) and not self.dry_run and not self.no_process and not self.no_poll # noqa: E501
|
|
135
|
-
self.enable_hooks = self.run_opts.get('enable_hooks', True) and not self.dry_run and not self.no_process
|
|
135
|
+
self.enable_hooks = self.run_opts.get('enable_hooks', True) and not self.dry_run and not self.no_process # noqa: E501
|
|
136
136
|
|
|
137
137
|
# Runner print opts
|
|
138
138
|
self.print_item = self.run_opts.get('print_item', False) and not self.dry_run
|
|
@@ -11,7 +11,7 @@ secator/cve.py,sha256=j47VOGyZjOvCY_xwVYS9fiXQPKHL5bPRtCnVAmbQthE,21356
|
|
|
11
11
|
secator/decorators.py,sha256=uygU8MguxEO0BKXRvF4Nn2QEDnjqdIer8ReBj_j9ALg,88
|
|
12
12
|
secator/definitions.py,sha256=sJaR9e_4aEgAo7cVzYQcD2lotXQPN_3lze_qWhKvo1M,3275
|
|
13
13
|
secator/installer.py,sha256=oWHzUXrEp8D6oPiFHjWcOvDjqMLRhftB7kG-OcCg7PY,21120
|
|
14
|
-
secator/loader.py,sha256=
|
|
14
|
+
secator/loader.py,sha256=fR0oAdBgZlII8guOmSs_htQq917mUZZIiAzf0fvUq0Y,4139
|
|
15
15
|
secator/report.py,sha256=4lEjW_GzDgsPBe1eQHX4ntcHWs0nsAMIbrNMw0UfWHc,4025
|
|
16
16
|
secator/rich.py,sha256=jITAXV_Wgj32Q7FfkssDN-DMD8TxK1wwlrIlkaCNc70,3960
|
|
17
17
|
secator/template.py,sha256=vLp-4cmg05YDKyvqmPtKoclH-b_NamRKvr_qprIPSGA,9905
|
|
@@ -79,7 +79,7 @@ secator/output_types/user_account.py,sha256=EvF3Ebg9eXS_-iDguU1dSHZ9wAsJimEJznDv
|
|
|
79
79
|
secator/output_types/vulnerability.py,sha256=eWJDFCYf3sP5-hPKQT-4Kd5id9bJzTW2u-O_d_4P6EA,2849
|
|
80
80
|
secator/output_types/warning.py,sha256=iy949Aj5OXJLWif7HFB5EvjcYrgKHAzIP9ffyLTV7LA,830
|
|
81
81
|
secator/runners/__init__.py,sha256=EBbOk37vkBy9p8Hhrbi-2VtM_rTwQ3b-0ggTyiD22cE,290
|
|
82
|
-
secator/runners/_base.py,sha256=
|
|
82
|
+
secator/runners/_base.py,sha256=ohSQE42HK4hZqKq1OBWW7C6Ygz0IiZRmiJITZOXB1sM,40445
|
|
83
83
|
secator/runners/_helpers.py,sha256=TeebZnpo4cp-9tpgPlDoFm_gmr00_CERAC1aOYhTzA4,6281
|
|
84
84
|
secator/runners/celery.py,sha256=bqvDTTdoHiGRCt0FRvlgFHQ_nsjKMP5P0PzGbwfCj_0,425
|
|
85
85
|
secator/runners/command.py,sha256=5fmwmqkUkomceLUSp2rtJvn_ydE2gI95rqS4WKWciYI,30200
|
|
@@ -125,8 +125,8 @@ secator/tasks/wafw00f.py,sha256=9CnV9F7ZrykO27F3PAb5HtwULDMYEKGSTbz-jh0kc2g,3189
|
|
|
125
125
|
secator/tasks/wpprobe.py,sha256=1QPJ-7JvhL7LFvjUTAmqpH2Krp-Qmi079lonso16YPQ,3229
|
|
126
126
|
secator/tasks/wpscan.py,sha256=dBkbG9EODHDUBAA8uNVULX4SdVgTCAi_F1T1oCfRbsI,5852
|
|
127
127
|
secator/workflows/__init__.py,sha256=XOviyjSylZ4cuVmmQ76yuqZRdmvOEghqAnuw_4cLmfk,702
|
|
128
|
-
secator-0.16.
|
|
129
|
-
secator-0.16.
|
|
130
|
-
secator-0.16.
|
|
131
|
-
secator-0.16.
|
|
132
|
-
secator-0.16.
|
|
128
|
+
secator-0.16.2.dist-info/METADATA,sha256=a4iplxAqNbPumdRuvA6D1AZFKsUQOQfVqwVnmdC80Wo,17253
|
|
129
|
+
secator-0.16.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
130
|
+
secator-0.16.2.dist-info/entry_points.txt,sha256=lPgsqqUXWgiuGSfKy-se5gHdQlAXIwS_A46NYq7Acic,44
|
|
131
|
+
secator-0.16.2.dist-info/licenses/LICENSE,sha256=19W5Jsy4WTctNkqmZIqLRV1gTDOp01S3LDj9iSgWaJ0,2867
|
|
132
|
+
secator-0.16.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|