Rex::Compat.getenv

GSoC/Meterpreter_Web_Console
Brendan Coles 2018-07-14 06:24:04 +10:00 committed by GitHub
parent 104e4cee2e
commit bf53896aa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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"