mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-10-02 07:40:19 +02:00
Fix whitespace in lib/msf/ui/banner.rb for #4073
This commit is contained in:
commit
1508be6254
@ -8,6 +8,7 @@ module Ui
|
||||
#
|
||||
###
|
||||
module Banner
|
||||
|
||||
#
|
||||
# Returns a specific metasploit logo. If the specified file is a relative path
|
||||
# then the file will be searched for first in the included local directory,
|
||||
@ -39,6 +40,7 @@ module Banner
|
||||
return self.readfile ENV['MSFLOGO'] if ENV['MSFLOGO']
|
||||
|
||||
logos = []
|
||||
|
||||
# Easter egg (always a cow themed logo): export/set GOCOW=1
|
||||
if ENV['GOCOW']
|
||||
logos.concat(Dir.glob(::Msf::Config.logos_directory + File::SEPARATOR + 'cow*.txt'))
|
||||
|
Loading…
Reference in New Issue
Block a user