Sha256: 7f8839995f6235f915f0f29fc49a307febfcdb043e5519cead1669d435e1caa3

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 Windows operating systems.
#
# @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com>
#
# @version 0.1
#
class Windows < Platform::Fingerprinter

    IDs = %w(windows win32)

    def run
        IDs.each do |id|
            next if !server_or_powered_by_include? id
            return platforms << :windows
        end
    end

end

end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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