File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ def self.dump_exploit_module(mod, indent = '')
168
168
output << " Privileged: " + ( mod . privileged? ? "Yes" : "No" ) + "\n "
169
169
output << " License: #{ mod . license } \n "
170
170
output << " Rank: #{ mod . rank_to_s . capitalize } \n "
171
- output << " Disclosed: #{ mod . disclosure_date } \n "
171
+ output << " Disclosed: #{ mod . disclosure_date } \n " if mod . disclosure_date
172
172
output << "\n "
173
173
174
174
# Authors
@@ -224,7 +224,7 @@ def self.dump_auxiliary_module(mod, indent = '')
224
224
output << " Module: #{ mod . fullname } \n "
225
225
output << " License: #{ mod . license } \n "
226
226
output << " Rank: #{ mod . rank_to_s . capitalize } \n "
227
- output << " Disclosed: #{ mod . disclosure_date } \n "
227
+ output << " Disclosed: #{ mod . disclosure_date } \n " if mod . disclosure_date
228
228
output << "\n "
229
229
230
230
# Authors
@@ -270,7 +270,7 @@ def self.dump_post_module(mod, indent = '')
270
270
output << " Platform: #{ mod . platform_to_s } \n "
271
271
output << " Arch: #{ mod . arch_to_s } \n "
272
272
output << " Rank: #{ mod . rank_to_s . capitalize } \n "
273
- output << " Disclosed: #{ mod . disclosure_date } \n "
273
+ output << " Disclosed: #{ mod . disclosure_date } \n " if mod . disclosure_date
274
274
output << "\n "
275
275
276
276
# Authors
You can’t perform that action at this time.
0 commit comments