Fix tidy auxiliary and payload modules

master
William Vu 2019-03-27 09:47:19 -05:00
parent 20f868c15c
commit cfe3e8fba9
2 changed files with 13 additions and 18 deletions

View File

@ -5,15 +5,11 @@
class MetasploitModule < Msf::Auxiliary class MetasploitModule < Msf::Auxiliary
def initialize(info = {}) def initialize(info = {})
super( super(update_info(info,
update_info(
info,
'Name' => 'Tidy Auxiliary Module for RSpec' 'Name' => 'Tidy Auxiliary Module for RSpec'
'Description' => 'Test!' 'Description' => 'Test!'
}, 'Author' => 'Unknown',
'Author' => %w(Unknown), 'License' => MSF_LICENSE
'License' => MSF_LICENSE, ))
)
)
end end
end end

View File

@ -4,14 +4,13 @@
## ##
module Metasploit module MetasploitModule
def initialize(info = {}) def initialize(info = {})
super( super(merge_info(info,
merge_info(
info,
'Name' => 'Tidy Payload for RSpec', 'Name' => 'Tidy Payload for RSpec',
'Description' => 'Test!' 'Description' => 'Test!',
) 'Author' => 'Unknown',
) 'License' => MSF_LICENSE
))
end end
end end