Agent: Use keyword arguments when using PluginConfiguration in Master

This commit is contained in:
Shreya Malviya 2022-08-30 12:19:18 +05:30
parent e68a5391c8
commit 2b11fde827
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ class Exploiter:
# This order allows exploiter-specific options to # This order allows exploiter-specific options to
# override general options for all exploiters. # override general options for all exploiters.
options = {**exploitation_config.options.__dict__, **exploiter.options} options = {**exploitation_config.options.__dict__, **exploiter.options}
extended_exploiters.append(PluginConfiguration(exploiter.name, options)) extended_exploiters.append(PluginConfiguration(name=exploiter.name, options=options))
return extended_exploiters return extended_exploiters