File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
ui/console/command_dispatcher/extapi Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ def extract_value(v)
127
127
value [ :string ] = value [ 1 ] . value
128
128
else
129
129
value [ :raw ] = value [ 1 ] . value
130
+ end
130
131
end
131
132
132
133
value
Original file line number Diff line number Diff line change @@ -207,12 +207,12 @@ def to_table_row(result)
207
207
# we'll truncate the output of the array because it could be excessive if we
208
208
# don't. Users who want the detail of this stuff should probably script it.
209
209
if val . length > 50
210
- val = val [ 0 , 50 ] + ' ..."'
210
+ val = "< #{ val [ 0 , 50 ] } ..."
211
211
end
212
212
213
- values << "[ #{ val } ]"
213
+ values << val
214
214
when :dn
215
- values << "#{ value [ :string ] || Rex ::Text . to_hex ( value [ :raw ] , '' ) } "
215
+ values << "#{ value [ :label ] } : #{ value [ : string] || Rex ::Text . to_hex ( value [ :raw ] , '' ) } "
216
216
when :path
217
217
values << "Vol: #{ v [ :volume ] } , Path: #{ v [ :path ] } , Type: #{ v [ :vol_type ] } "
218
218
when :unknown
You can’t perform that action at this time.
0 commit comments