Ensure uniq on #find_msb_numbers
parent
b107213a6e
commit
69f3d88ea6
|
@ -3,7 +3,7 @@ load Metasploit::Framework.root.join('tools/msu_finder.rb').to_path
|
|||
require 'nokogiri'
|
||||
require 'uri'
|
||||
|
||||
describe MicrosoftPatch do
|
||||
describe MicrosoftPatchFinder do
|
||||
|
||||
before(:each) do
|
||||
cli = Rex::Proto::Http::Client.new('127.0.0.1')
|
||||
|
|
|
@ -435,7 +435,7 @@ module MicrosoftPatchFinder
|
|||
end
|
||||
rescue RuntimeError => e
|
||||
print_error(e.message)
|
||||
return msb_numbers
|
||||
return msb_numbers.uniq
|
||||
end
|
||||
|
||||
msb_numbers.uniq
|
||||
|
|
Loading…
Reference in New Issue