Sha256: 1e0320c7f0c2da70ed6f83cd730a623a56fd12e6bcb54bde187c276fd6558a80
Contents?: true
Size: 912 Bytes
Versions: 2
Compression:
Stored size: 912 Bytes
Contents
=begin Copyright 2010-2017 Sarosys LLC <http://www.sarosys.com> This file is part of the Arachni Framework project and is subject to redistribution and commercial restrictions. Please see the Arachni Framework web site for more information on licensing and terms of use. =end module Arachni class Framework module Parts # Provides access to {Arachni::Platform} helpers. # # @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> module Platform # @return [Array<Hash>] # Information about all available platforms. def list_platforms platforms = Arachni::Platform::Manager.new platforms.valid.inject({}) do |h, platform| type = Arachni::Platform::Manager::TYPES[platforms.find_type( platform )] h[type] ||= {} h[type][platform] = platforms.fullname( platform ) h end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
arachni-1.5.1 | lib/arachni/framework/parts/platform.rb |
arachni-1.5 | lib/arachni/framework/parts/platform.rb |