add background command to meterpreter

git-svn-id: file:///home/svn/framework3/trunk@6257 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
James Lee 2009-02-27 03:12:20 +00:00
parent d5c625b803
commit 616d0fdd46
1 changed files with 18 additions and 13 deletions

View File

@ -34,19 +34,20 @@ class Console::CommandDispatcher::Core
#
def commands
{
"?" => "Help menu",
"close" => "Closes a channel",
"channel" => "Displays information about active channels",
"exit" => "Terminate the meterpreter session",
"help" => "Help menu",
"interact" => "Interacts with a channel",
"irb" => "Drop into irb scripting mode",
"migrate" => "Migrate the server to another process",
"use" => "Load a one or more meterpreter extensions",
"quit" => "Terminate the meterpreter session",
"read" => "Reads data from a channel",
"run" => "Executes a meterpreter script",
"write" => "Writes data to a channel",
"?" => "Help menu",
"background" => "Backgrounds the current session",
"close" => "Closes a channel",
"channel" => "Displays information about active channels",
"exit" => "Terminate the meterpreter session",
"help" => "Help menu",
"interact" => "Interacts with a channel",
"irb" => "Drop into irb scripting mode",
"migrate" => "Migrate the server to another process",
"use" => "Load a one or more meterpreter extensions",
"quit" => "Terminate the meterpreter session",
"read" => "Reads data from a channel",
"run" => "Executes a meterpreter script",
"write" => "Writes data to a channel",
}
end
@ -57,6 +58,10 @@ class Console::CommandDispatcher::Core
"Core"
end
def cmd_background
client.interacting = false
end
#
# Displays information about active channels
#