diff --git a/lib/msf/base/serializer/readable_text.rb b/lib/msf/base/serializer/readable_text.rb index 8bb6bdb05a..daef566ce2 100644 --- a/lib/msf/base/serializer/readable_text.rb +++ b/lib/msf/base/serializer/readable_text.rb @@ -501,7 +501,7 @@ class ReadableText output << "References:\n" mod.references.each do |ref| - if ENV['FUEL_THE_HYPE_MACHINE'] && %w{LOGO SOUNDTRACK}.include?(ref.ctx_id) + if Rex::Compat.getenv('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"