Skip to content

Commit 1095d1d

Browse files
author
Tod Beardsley
committed
Land rapid7#4015, dates in the info on modules
2 parents 592f1e9 + d775c6c commit 1095d1d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/msf/base/serializer/readable_text.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ def self.dump_exploit_module(mod, indent = '')
168168
output << " Privileged: " + (mod.privileged? ? "Yes" : "No") + "\n"
169169
output << " License: #{mod.license}\n"
170170
output << " Rank: #{mod.rank_to_s.capitalize}\n"
171+
output << " Disclosed: #{mod.disclosure_date}\n" if mod.disclosure_date
171172
output << "\n"
172173

173174
# Authors
@@ -223,6 +224,7 @@ def self.dump_auxiliary_module(mod, indent = '')
223224
output << " Module: #{mod.fullname}\n"
224225
output << " License: #{mod.license}\n"
225226
output << " Rank: #{mod.rank_to_s.capitalize}\n"
227+
output << " Disclosed: #{mod.disclosure_date}\n" if mod.disclosure_date
226228
output << "\n"
227229

228230
# Authors
@@ -268,6 +270,7 @@ def self.dump_post_module(mod, indent = '')
268270
output << " Platform: #{mod.platform_to_s}\n"
269271
output << " Arch: #{mod.arch_to_s}\n"
270272
output << " Rank: #{mod.rank_to_s.capitalize}\n"
273+
output << " Disclosed: #{mod.disclosure_date}\n" if mod.disclosure_date
271274
output << "\n"
272275

273276
# Authors

0 commit comments

Comments
 (0)