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 95283f7 commit 2399c2aCopy full SHA for 2399c2a
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