Fix issue when tab autocomplete for alias plugin.

GSoC/Meterpreter_Web_Console
Green-m 2018-12-03 15:03:36 +08:00
parent b35f18f060
commit 475a869088
No known key found for this signature in database
GPG Key ID: 7A4A0E684B5D6747
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ class Plugin::Alias < Msf::Plugin
driver.dispatcher_stack.each do |dispatcher|
next unless dispatcher.respond_to?(:commands)
next if (dispatcher.commands.nil? or dispatcher.commands.length == 0)
items << dispatcher.commands.keys
items.concat(dispatcher.commands.keys)
end
# add all the current aliases to the list
items.concat(@aliases.keys)