Add uictl tabs

GSoC/Meterpreter_Web_Console
Green-m 2018-07-26 05:33:40 -04:00
parent 2dbbd0c649
commit 63ed4b2173
1 changed files with 15 additions and 0 deletions

View File

@ -119,6 +119,21 @@ class Console::CommandDispatcher::Stdapi::Ui
return true
end
#
# Tab completion for the uictl command
#
def cmd_uictl_tabs(str, words)
return ['enable','disable'] if words.length == 1
case words[-1]
when 'enable', 'disable'
return ['keyboard', 'mouse', 'all']
end
[]
end
#
# Grab a screenshot of the current interactive desktop.
#