Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SemaSCDG.py fix crash when enabling plugins (hooks, track and IoC) #41

Open
wants to merge 1 commit into
base: production
Choose a base branch
from

Conversation

Thib-fkr
Copy link

When enabling the plugins:

  • plugin_track_command = true
  • plugin_ioc_report = true
  • plugin_hooks = true

SemaSCDG.py crashes with error messages such as:

  File ".../sema_scdg/application/SemaSCDG.py", line 543, in collect_data
    self.plugins.enable_plugin_ioc(self, self.scdg_graph, exp_dir)
TypeError: PluginManager.enable_plugin_ioc() takes 3 positional arguments but 4 were given

Because an additional self argument is passed to the functions PluginManager.enable_plugin_[hooks - commands - ioc].

This pull request removes the additional arguments causing the crashes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant