Rex::Compat.getenv
parent
104e4cee2e
commit
bf53896aa7
|
@ -501,7 +501,7 @@ class ReadableText
|
||||||
output << "References:\n"
|
output << "References:\n"
|
||||||
|
|
||||||
mod.references.each do |ref|
|
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)
|
Rex::Compat.open_browser(ref.ctx_val)
|
||||||
end
|
end
|
||||||
output << indent + ref.to_s + "\n"
|
output << indent + ref.to_s + "\n"
|
||||||
|
|
Loading…
Reference in New Issue