Add quick fix for alias tab completion; Aliases most likely needs to be implemented differently
This commit is contained in:
+1
-4
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user