add the meterpreter platform to the output of sysinfo command

git-svn-id: file:///home/svn/framework3/trunk@11772 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2011-02-18 00:29:43 +00:00
parent f8c2fa6b72
commit 64529011a0
1 changed files with 5 additions and 4 deletions

View File

@ -458,10 +458,11 @@ class Console::CommandDispatcher::Stdapi::Sys
def cmd_sysinfo(*args) def cmd_sysinfo(*args)
info = client.sys.config.sysinfo info = client.sys.config.sysinfo
print_line("Computer: " + info['Computer']) print_line("Computer : " + info['Computer'])
print_line("OS : " + info['OS']) print_line("OS : " + info['OS'])
print_line("Arch : " + info['Architecture']) if info['Architecture'] print_line("Arch : " + info['Architecture']) if info['Architecture']
print_line("Language: " + info['System Language']) if info['System Language'] print_line("Language : " + info['System Language']) if info['System Language']
print_line("Meterpreter: " + client.platform)
return true return true
end end