secator 0.16.0__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/configs/workflows/user_hunt.yaml +2 -1
- secator/loader.py +12 -1
- secator/runners/_base.py +1 -1
- secator/tasks/maigret.py +2 -2
- {secator-0.16.0.dist-info → secator-0.16.2.dist-info}/METADATA +1 -1
- {secator-0.16.0.dist-info → secator-0.16.2.dist-info}/RECORD +9 -9
- {secator-0.16.0.dist-info → secator-0.16.2.dist-info}/WHEEL +0 -0
- {secator-0.16.0.dist-info → secator-0.16.2.dist-info}/entry_points.txt +0 -0
- {secator-0.16.0.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
|
secator/tasks/maigret.py
CHANGED
|
@@ -6,7 +6,7 @@ import re
|
|
|
6
6
|
from secator.decorators import task
|
|
7
7
|
from secator.definitions import (DELAY, EXTRA_DATA, OPT_NOT_SUPPORTED, OUTPUT_PATH, PROXY,
|
|
8
8
|
RATE_LIMIT, RETRIES, SITE_NAME, THREADS,
|
|
9
|
-
TIMEOUT, URL, STRING)
|
|
9
|
+
TIMEOUT, URL, STRING, SLUG)
|
|
10
10
|
from secator.output_types import UserAccount, Info, Error
|
|
11
11
|
from secator.tasks._categories import ReconUser
|
|
12
12
|
|
|
@@ -17,7 +17,7 @@ logger = logging.getLogger(__name__)
|
|
|
17
17
|
class maigret(ReconUser):
|
|
18
18
|
"""Collect a dossier on a person by username."""
|
|
19
19
|
cmd = 'maigret'
|
|
20
|
-
input_types = [STRING]
|
|
20
|
+
input_types = [SLUG, STRING]
|
|
21
21
|
output_types = [UserAccount]
|
|
22
22
|
tags = ['user', 'recon', 'username']
|
|
23
23
|
file_flag = None
|
|
@@ -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
|
|
@@ -46,7 +46,7 @@ secator/configs/workflows/url_dirsearch.yaml,sha256=_4TdMSVLt2lIbx8ucn0R04tkMUqh
|
|
|
46
46
|
secator/configs/workflows/url_fuzz.yaml,sha256=a-ZvZrcPBaeVhRrxox8fq25SKMJflyAkKWLqJeC3xD4,911
|
|
47
47
|
secator/configs/workflows/url_params_fuzz.yaml,sha256=ufGbW4GUtEZee0M1WPVo0w6ZCEH6xmuDO6VCjPaw8AQ,796
|
|
48
48
|
secator/configs/workflows/url_vuln.yaml,sha256=35uY0SpQGgaPulkBkQUcy0AdVwjslEJfVGhM9DQAXkk,1817
|
|
49
|
-
secator/configs/workflows/user_hunt.yaml,sha256=
|
|
49
|
+
secator/configs/workflows/user_hunt.yaml,sha256=WX3bpsPWexLXs5bF-OkniPwm8T6fXws7f284Zrybi8I,189
|
|
50
50
|
secator/configs/workflows/wordpress.yaml,sha256=n-I1uNZEPS6oVmF7Rn996K85csSenTtoVycJt0PWnzk,340
|
|
51
51
|
secator/exporters/__init__.py,sha256=PnT9Ra4ArHt9VQTK5Cpc4CPY89XRwLLUGtZ8nUcknm0,415
|
|
52
52
|
secator/exporters/_base.py,sha256=wM1UT1PsSP1gX4gylvpQjBeAsk59F2Q2eFrt7AFU7jM,68
|
|
@@ -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
|
|
@@ -111,7 +111,7 @@ secator/tasks/grype.py,sha256=OasQs5WQwgt--o6M2_uh3RYZZaA3-difweCS46Uc5-w,2573
|
|
|
111
111
|
secator/tasks/h8mail.py,sha256=XsDnL8LPk_jIHfJhqeYMj2423epk0NADorjd_JhBa9o,2033
|
|
112
112
|
secator/tasks/httpx.py,sha256=0Umt2ouL36TELxmoaZ4dKSGXgipN3ve__IQFgUKrWZQ,6498
|
|
113
113
|
secator/tasks/katana.py,sha256=NQimtCi7qgIIK6npzzm8OKZSVsBWxuj950W_4VNUa8U,6164
|
|
114
|
-
secator/tasks/maigret.py,sha256=
|
|
114
|
+
secator/tasks/maigret.py,sha256=jjuyR8lAZYUybmN8SwEj3hrRB25p9xm4X_361auZK_Q,2173
|
|
115
115
|
secator/tasks/mapcidr.py,sha256=tMTHQspHSs92F4R-9HVYjFBpiu9ZhxoJSNvpd8KwKKc,1057
|
|
116
116
|
secator/tasks/msfconsole.py,sha256=3VjAEpwEAFDcGxyYMhKyDLHRObXELYFx_H306fzmtMw,6566
|
|
117
117
|
secator/tasks/naabu.py,sha256=dI-NNb4MQzyCgnvfkstkn3IyjUpW0ORbftcsVFmx994,2443
|
|
@@ -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
|