Sha256: d9430f746962689f6e189ba5113362e718a6de8b23338459e9c2888949e06f7f
Contents?: true
Size: 759 Bytes
Versions: 5
Compression:
Stored size: 759 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 Rack applications. # # @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> # @version 0.1.2 class Rack < Platform::Fingerprinter SESSIONID = 'rack.session' def run return if !powered_by.include?( 'mod_rack' ) && !headers.keys.find { |h| h.include? 'x-rack' } && !cookies.include?( SESSIONID ) platforms << :ruby << :rack end end end end
Version data entries
5 entries across 5 versions & 1 rubygems