We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13b06db commit 8f6fe87Copy full SHA for 8f6fe87
lib/msf/base/sessions/scriptable.rb
@@ -101,7 +101,7 @@ def legacy_script_to_post_module(script_name)
101
#
102
def execute_script(script_name, *args)
103
post_module = legacy_script_to_post_module(script_name)
104
- script_name == post_module if !post_module.nil?
+ script_name = post_module if !post_module.nil?
105
mod = framework.modules.create(script_name)
106
if mod
107
# Don't report module run events here as it will be taken care of
0 commit comments