Sha256: d8d4a7a4bf734cdfd457844b91f6dce0abb8e8631779df032e95698e632b295f
Contents?: true
Size: 826 Bytes
Versions: 5
Compression:
Stored size: 826 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 Gunicorn resources. # # @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> # @version 0.1 class Gunicorn < Platform::Fingerprinter def run return update_platforms if server_or_powered_by_include?( 'gunicorn' ) headers.keys.each do |header| return update_platforms if header.start_with?( 'x-gunicorn') end end def update_platforms platforms << :python << :gunicorn end end end end
Version data entries
5 entries across 5 versions & 1 rubygems