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.
2 parents 76e27ed + 2399c2a commit 9af1f69Copy full SHA for 9af1f69
lib/msf/base/sessions/smb.rb
@@ -45,8 +45,8 @@ def process_autoruns(datastore)
45
next if datastore[key].nil? || datastore[key].empty?
46
47
args = Shellwords.shellwords(datastore[key])
48
- print_status("Session ID #{session.sid} (#{session.tunnel_to_s}) processing #{key} '#{datastore[key]}'")
49
- session.execute_script(args.shift, *args)
+ print_status("Session ID #{sid} (#{tunnel_to_s}) processing #{key} '#{datastore[key]}'")
+ execute_script(args.shift, *args)
50
end
51
52
0 commit comments