Sha256: 890959276475cc25c4165fa47042108c5dbdc979b19d847689f1e7ca1b7f214c

Contents?: true

Size: 696 Bytes

Versions: 5

Compression:

Stored size: 696 Bytes

Contents

=begin
    Copyright 2010-2022 Ecsypno <http://www.ecsypno.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 Ruby resources.
#
# @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com>
#
# @version 0.1
class Ruby < Platform::Fingerprinter

    IDs = %w(mod_rack phusion passenger)

    def run
        IDs.each do |id|
            next if !powered_by.include? id
            return platforms << :ruby << :rack
        end
    end

end

end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arachni-1.6.1.3 components/fingerprinters/languages/ruby.rb
arachni-1.6.1.2 components/fingerprinters/languages/ruby.rb
arachni-1.6.1.1 components/fingerprinters/languages/ruby.rb
arachni-1.6.1 components/fingerprinters/languages/ruby.rb
arachni-1.6.0 components/fingerprinters/languages/ruby.rb