Sha256: 87452559b264cfd888a380675545ca8b7bb306d9bcc0a634dc7e73ffde24c083
Contents?: true
Size: 720 Bytes
Versions: 7
Compression:
Stored size: 720 Bytes
Contents
=begin Copyright 2010-2014 Tasos Laskos <tasos.laskos@arachni-scanner.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 module Platform::Fingerprinters # # Identifies Solaris operating systems. # # @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> # # @version 0.1 # class Solaris < Platform::Fingerprinter IDs = %w(solaris sunos) def run IDs.each do |id| next if !server_or_powered_by_include? id return platforms << :solaris end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems