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( 'Name' => 'Tidy Auxiliary Module for RSpec'
info, 'Description' => 'Test!'
'Name' => 'Tidy Auxiliary Module for RSpec' 'Author' => 'Unknown',
'Description' => 'Test!' 'License' => MSF_LICENSE
}, ))
'Author' => %w(Unknown),
'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( 'Name' => 'Tidy Payload for RSpec',
info, 'Description' => 'Test!',
'Name' => 'Tidy Payload for RSpec', 'Author' => 'Unknown',
'Description' => 'Test!' 'License' => MSF_LICENSE
) ))
)
end end
end end