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 8fe8ee9 commit 2c07f51Copy full SHA for 2c07f51
lib/msf/base/sessions/scriptable.rb
@@ -82,7 +82,7 @@ def execute_script(script_name, *args)
82
if mod.category == "local"
83
# get a copy of the session exploit's datastore if we can
84
original_exploit_datastore = self.exploit.datastore || {}
85
- copy_of_orig_exploit_datastore = original_exploit_datastore.dup
+ copy_of_orig_exploit_datastore = original_exploit_datastore.clone
86
# we don't want to inherit a couple things, like AutoRunScript's
87
to_neuter = ['AutoRunScript', 'InitialAutoRunScript']
88
to_neuter.each { |setting| copy_of_orig_exploit_datastore.delete(setting) }
0 commit comments