Add quick fix for alias tab completion; Aliases most likely needs to be implemented differently

This commit is contained in:
adfoster-r7
2021-08-25 19:58:54 +01:00
parent 5837ceb03d
commit 89ab189a87
2 changed files with 16 additions and 26 deletions
+1 -4
View File
@@ -189,10 +189,7 @@ class Plugin::Alias < Msf::Plugin
# insert any remaining parts of value and rebuild the line
line = words.join(" ") + " " + value_words.join(" ") + " " + str
#print_good "passing (#{line.strip}) back to tab_complete"
# clear current tab_words
driver.tab_words = []
driver.tab_complete(line.strip)
[driver.tab_complete(line.strip), :override_completions]
end
# add a cmd_#{name}_help method
define_method "cmd_#{name}_help" do |*args|