File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
ui/console/command_dispatcher/stdapi Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ def getenv(var_name)
104
104
#
105
105
# Returns a hash of information about the remote computer.
106
106
#
107
- def sysinfo ( refresh = false )
107
+ def sysinfo ( refresh : false )
108
108
request = Packet . create_request ( 'stdapi_sys_config_sysinfo' )
109
109
if @sysinfo . nil? || refresh
110
110
response = client . send_request ( request )
Original file line number Diff line number Diff line change @@ -808,7 +808,7 @@ def cmd_drop_token(*args)
808
808
# Displays information about the remote system.
809
809
#
810
810
def cmd_sysinfo ( *args )
811
- info = client . sys . config . sysinfo ( : refresh)
811
+ info = client . sys . config . sysinfo ( refresh : true )
812
812
width = "Meterpreter" . length
813
813
info . keys . each { |k | width = k . length if k . length > width and info [ k ] }
814
814
You can’t perform that action at this time.
0 commit comments