forked from p15670423/monkey
Agent: Use keyword arguments when using PluginConfiguration in Master
This commit is contained in:
parent
e68a5391c8
commit
2b11fde827
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue