Sha256: 598d79e5fe9c0ef46fd73981fd67deec2f48ecc36a9bad044ee3da991c4e7af1

Contents?: true

Size: 720 Bytes

Versions: 6

Compression:

Stored size: 720 Bytes

Contents

=begin
    Copyright 2010-2015 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

6 entries across 6 versions & 1 rubygems

Version Path
arachni-1.3.2 components/fingerprinters/os/solaris.rb
arachni-1.3.1 components/fingerprinters/os/solaris.rb
arachni-1.3 components/fingerprinters/os/solaris.rb
arachni-1.2.1 components/fingerprinters/os/solaris.rb
arachni-1.2 components/fingerprinters/os/solaris.rb
arachni-1.1 components/fingerprinters/os/solaris.rb