Sha256: 794304ed7a6fa0167d10ed8f8c1f8355ed09123ecda6274b44ec5a61e3c82643

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 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

7 entries across 7 versions & 1 rubygems

Version Path
arachni-1.0.6 components/fingerprinters/os/windows.rb
arachni-1.0.5 components/fingerprinters/os/windows.rb
arachni-1.0.4 components/fingerprinters/os/windows.rb
arachni-1.0.3 components/fingerprinters/os/windows.rb
arachni-1.0.2 components/fingerprinters/os/windows.rb
arachni-1.0.1 components/fingerprinters/os/windows.rb
arachni-1.0 components/fingerprinters/os/windows.rb