add background command to meterpreter

git-svn-id: file:///home/svn/framework3/trunk@6257 4d416f70-5f16-0410-b530-b9f4589650da
unstable
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 def commands
{ {
"?" => "Help menu", "?" => "Help menu",
"close" => "Closes a channel", "background" => "Backgrounds the current session",
"channel" => "Displays information about active channels", "close" => "Closes a channel",
"exit" => "Terminate the meterpreter session", "channel" => "Displays information about active channels",
"help" => "Help menu", "exit" => "Terminate the meterpreter session",
"interact" => "Interacts with a channel", "help" => "Help menu",
"irb" => "Drop into irb scripting mode", "interact" => "Interacts with a channel",
"migrate" => "Migrate the server to another process", "irb" => "Drop into irb scripting mode",
"use" => "Load a one or more meterpreter extensions", "migrate" => "Migrate the server to another process",
"quit" => "Terminate the meterpreter session", "use" => "Load a one or more meterpreter extensions",
"read" => "Reads data from a channel", "quit" => "Terminate the meterpreter session",
"run" => "Executes a meterpreter script", "read" => "Reads data from a channel",
"write" => "Writes data to a channel", "run" => "Executes a meterpreter script",
"write" => "Writes data to a channel",
} }
end end
@ -57,6 +58,10 @@ class Console::CommandDispatcher::Core
"Core" "Core"
end end
def cmd_background
client.interacting = false
end
# #
# Displays information about active channels # Displays information about active channels
# #