add the meterpreter platform to the output of sysinfo command
git-svn-id: file:///home/svn/framework3/trunk@11772 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
f8c2fa6b72
commit
64529011a0
|
@ -458,10 +458,11 @@ class Console::CommandDispatcher::Stdapi::Sys
|
|||
def cmd_sysinfo(*args)
|
||||
info = client.sys.config.sysinfo
|
||||
|
||||
print_line("Computer: " + info['Computer'])
|
||||
print_line("OS : " + info['OS'])
|
||||
print_line("Arch : " + info['Architecture']) if info['Architecture']
|
||||
print_line("Language: " + info['System Language']) if info['System Language']
|
||||
print_line("Computer : " + info['Computer'])
|
||||
print_line("OS : " + info['OS'])
|
||||
print_line("Arch : " + info['Architecture']) if info['Architecture']
|
||||
print_line("Language : " + info['System Language']) if info['System Language']
|
||||
print_line("Meterpreter: " + client.platform)
|
||||
|
||||
return true
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue