From 147f59836a230cdf30ff4a5cc949a3c8fc409306 Mon Sep 17 00:00:00 2001 From: William Vu Date: Thu, 12 Jul 2018 11:34:09 -0500 Subject: [PATCH] Fuel the hype machine --- lib/msf/base/serializer/readable_text.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/msf/base/serializer/readable_text.rb b/lib/msf/base/serializer/readable_text.rb index c8b32d31f7..f5f202ca17 100644 --- a/lib/msf/base/serializer/readable_text.rb +++ b/lib/msf/base/serializer/readable_text.rb @@ -499,9 +499,12 @@ class ReadableText if (mod.respond_to?(:references) && mod.references && mod.references.length > 0) output << "References:\n" - mod.references.each { |ref| + mod.references.each do |ref| + if ENV['FUEL_THE_HYPE_MACHINE'] && %w{LOGO SOUNDTRACK}.include?(ref.ctx_id) + Rex::Compat.open_browser(ref.ctx_val) + end output << indent + ref.to_s + "\n" - } + end output << "\n" end