Land #10816, Add a `bg` alias for `background` command

4.x
Brendan Coles 2018-10-16 16:14:01 +00:00 committed by Metasploit
parent 7d04ebcf5f
commit a4d2bf30c1
No known key found for this signature in database
GPG Key ID: CDFB5FA52007B954
1 changed files with 4 additions and 0 deletions

View File

@ -50,6 +50,7 @@ class Console::CommandDispatcher::Core
c = {
'?' => 'Help menu',
'background' => 'Backgrounds the current session',
'bg' => 'Alias for background',
'close' => 'Closes a channel',
'channel' => 'Displays information or control active channels',
'exit' => 'Terminate the meterpreter session',
@ -330,6 +331,9 @@ class Console::CommandDispatcher::Core
client.interacting = false
end
alias cmd_bg cmd_background
alias cmd_bg_help cmd_background_help
#
# Displays information about active channels
#