secator 0.10.1a9__py3-none-any.whl → 0.10.1a10__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.

@@ -488,9 +488,8 @@ class Command(Runner):
488
488
 
489
489
  def print_description(self):
490
490
  """Print description"""
491
- if self.sync and not self.has_children:
492
- if self.caller and self.description:
493
- self._print(f'\n[bold gold3]:wrench: {self.description} [dim cyan]({self.config.name})[/][/] ...', rich=True)
491
+ if self.sync and not self.has_children and self.caller and self.description:
492
+ self._print(f'\n[bold gold3]:wrench: {self.description} [dim cyan]({self.config.name})[/][/] ...', rich=True)
494
493
 
495
494
  def print_command(self):
496
495
  """Print command."""
@@ -756,7 +755,7 @@ class Command(Runner):
756
755
 
757
756
  @staticmethod
758
757
  def _validate_chunked_input(self, inputs):
759
- """Command does not suport multiple inputs in non-worker mode. Consider using .delay() instead."""
758
+ """Command does not suport multiple inputs in non-worker mode. Consider running with a remote worker instead."""
760
759
  if len(inputs) > 1 and self.sync and self.file_flag is None:
761
760
  return False
762
761
  return True
secator/runners/task.py CHANGED
@@ -47,9 +47,10 @@ class Task(Runner):
47
47
  opts['context'] = self.context.copy()
48
48
  opts['reports_folder'] = str(self.reports_folder)
49
49
  opts['enable_reports'] = False # Task will handle reports
50
- opts['enable_duplicate_check'] = False # Task will handle duplicate check
50
+ opts['enable_duplicate_check'] = False # Task will handle duplicate check
51
51
  opts['has_parent'] = False
52
52
  opts['skip_if_no_inputs'] = False
53
+ opts['caller'] = 'Task'
53
54
 
54
55
  # Create task signature
55
56
  task_id = str(uuid.uuid4())
@@ -47,6 +47,7 @@ class Workflow(Runner):
47
47
  opts['enable_duplicate_check'] = False # Workflow will handle duplicate check
48
48
  opts['has_parent'] = True
49
49
  opts['skip_if_no_inputs'] = True
50
+ opts['caller'] = 'Workflow'
50
51
 
51
52
  # Build task signatures
52
53
  sigs = self.get_tasks(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: secator
3
- Version: 0.10.1a9
3
+ Version: 0.10.1a10
4
4
  Summary: The pentester's swiss knife.
5
5
  Project-URL: Homepage, https://github.com/freelabz/secator
6
6
  Project-URL: Issues, https://github.com/freelabz/secator/issues
@@ -71,10 +71,10 @@ secator/runners/__init__.py,sha256=EBbOk37vkBy9p8Hhrbi-2VtM_rTwQ3b-0ggTyiD22cE,2
71
71
  secator/runners/_base.py,sha256=C50WhU1WC8y69kLVqlR-to_ijwzh0Lgkf2j8bVTFy0M,31416
72
72
  secator/runners/_helpers.py,sha256=QhJmdmFdu5XSx3LBFf4Q4Hy2EXS6bLGnJUq8G7C6f68,2410
73
73
  secator/runners/celery.py,sha256=bqvDTTdoHiGRCt0FRvlgFHQ_nsjKMP5P0PzGbwfCj_0,425
74
- secator/runners/command.py,sha256=9AvjZgSXctP8D-ffPCtlnXEiGqTeaD2wVGhiGNuROb0,25469
74
+ secator/runners/command.py,sha256=0iabT_5kXClU7WSD30qT-bAFMJqA2NjRgaT52TZxJO0,25479
75
75
  secator/runners/scan.py,sha256=L-6YfdgeVXjTEHiSriwNVFyBmSCNhHTj-6A7R9lka6c,1532
76
- secator/runners/task.py,sha256=4Ef2YkvVmr0wo2pY9FRo7PBX0rTW0q3uDED9R2QBt-g,2010
77
- secator/runners/workflow.py,sha256=nY_ZkL0bVVwn1LAQnnKZEn9uDyG-ZnhkJc2yJUqBQNg,3272
76
+ secator/runners/task.py,sha256=LIgcBqORVPG5Kfx6g6RnEni1kgWchMfa3Oo2JEZri1Y,2037
77
+ secator/runners/workflow.py,sha256=AchWBPVKKqmuVGU7ihEzB6kZeVso309YHl7ayeKSbDM,3302
78
78
  secator/scans/__init__.py,sha256=s4Ojsk5CWwyWqHu_A4zaXUL5Hm5L5nCmCHZn7wdD3Io,623
79
79
  secator/serializers/__init__.py,sha256=OP5cmFl77ovgSCW_IDcZ21St2mUt5UK4QHfrsK2KvH8,248
80
80
  secator/serializers/dataclass.py,sha256=RqICpfsYWGjHAACAA2h2jZ_69CFHim4VZwcBqowGMcQ,1010
@@ -109,8 +109,8 @@ secator/tasks/searchsploit.py,sha256=gvtLZbL2hzAZ07Cf0cSj2Qs0GvWK94XyHvoPFsetXu8
109
109
  secator/tasks/subfinder.py,sha256=C6W5NnXT92OUB1aSS9IYseqdI3wDMAz70TOEl8X-o3U,1213
110
110
  secator/tasks/wpscan.py,sha256=cSRwRfJEsZlqt1pVP3jWQ-7XhFfwR3i7FuL1PDRyWBQ,5594
111
111
  secator/workflows/__init__.py,sha256=R_TTyjg9f2Ph2_LYiF0lL07IjTrfRE_zqJzy-N7_WCk,675
112
- secator-0.10.1a9.dist-info/METADATA,sha256=YfTORX6_xaQnrY8W8IbzoYZrMfZnL6JxwWbrvz9q2dM,14726
113
- secator-0.10.1a9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
114
- secator-0.10.1a9.dist-info/entry_points.txt,sha256=lPgsqqUXWgiuGSfKy-se5gHdQlAXIwS_A46NYq7Acic,44
115
- secator-0.10.1a9.dist-info/licenses/LICENSE,sha256=19W5Jsy4WTctNkqmZIqLRV1gTDOp01S3LDj9iSgWaJ0,2867
116
- secator-0.10.1a9.dist-info/RECORD,,
112
+ secator-0.10.1a10.dist-info/METADATA,sha256=HmhproN6mopFeyh4eXD0mvRbPbG0tYD64xKJQBzH2ZI,14727
113
+ secator-0.10.1a10.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
114
+ secator-0.10.1a10.dist-info/entry_points.txt,sha256=lPgsqqUXWgiuGSfKy-se5gHdQlAXIwS_A46NYq7Acic,44
115
+ secator-0.10.1a10.dist-info/licenses/LICENSE,sha256=19W5Jsy4WTctNkqmZIqLRV1gTDOp01S3LDj9iSgWaJ0,2867
116
+ secator-0.10.1a10.dist-info/RECORD,,