From 372ec1949ac47567e7c03cc8978d4c85597aa47b Mon Sep 17 00:00:00 2001 From: William Vu Date: Tue, 23 Apr 2019 19:47:49 -0500 Subject: [PATCH] Handle NOCVE and module traits --- lib/msf/base/serializer/readable_text.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/msf/base/serializer/readable_text.rb b/lib/msf/base/serializer/readable_text.rb index fcf091c067..2dea1bf992 100644 --- a/lib/msf/base/serializer/readable_text.rb +++ b/lib/msf/base/serializer/readable_text.rb @@ -683,9 +683,15 @@ class ReadableText when 'AKA' output << "Also known as:\n" val.each { |aka| output << "#{indent}#{aka}\n" } + when 'NOCVE' + output << "CVE not available:\n" \ + "#{indent}#{val}\n" when 'RELATED' output << "Related modules:\n" val.each { |related| output << "#{indent}#{related}\n" } + when 'Stability', 'SideEffects', 'Reliability' + # Handled by dump_traits + next else # Display the raw note output << "#{name}:\n" \