Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:andresriancho/w3af into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
andresriancho committed Apr 7, 2019
2 parents 14ff34d + 8cefae1 commit 86d3c1a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions w3af/core/controllers/core_helpers/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,14 @@ def create_instances(self):
plugin_name)
if plugin_instance not in self.plugins[plugin_type]:
self.plugins[plugin_type].append(plugin_instance)
else:
# Ensure that the latest settings are applied to the instance
# that will be used for execution
for existing_inst in self.plugins[plugin_type]:
if existing_inst.get_name() == plugin_name and plugin_name in self._plugins_options[plugin_type].keys():
custom_options = self._plugins_options[plugin_type][plugin_name]
existing_inst.set_options(custom_options)


def plugin_factory(self):
"""
Expand Down

0 comments on commit 86d3c1a

Please sign in to comment.