MCPcopy
hub / github.com/owtf/owtf / refresh_replacements

Method refresh_replacements

owtf/shell/base.py:36–44  ·  view source on GitHub ↗

Refresh the replaced items in the list :return: None :rtype: None

(self)

Source from the content-addressed store, hash-verified

34 self.shell_env = os.environ.copy()
35
36 def refresh_replacements(self):
37 """Refresh the replaced items in the list
38
39 :return: None
40 :rtype: None
41 """
42 self.dynamic_replacements["###plugin_output_dir###"] = target_manager.get_path(
43 "plugin_output_dir"
44 )
45
46 def start_cmd(self, original_cmd, modified_cmd):
47 """Start the timer and return the list of commands to run

Callers 2

Calls 1

get_pathMethod · 0.80

Tested by

no test coverage detected