Sha256: 4b01b06411970ddc1a5ff7b830321a0c3bca4fec962dcc0153770e1bc9f9b2c5
Contents?: true
Size: 805 Bytes
Versions: 2
Compression:
Stored size: 805 Bytes
Contents
=begin Copyright 2010-2017 Sarosys LLC <http://www.sarosys.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 Django resources. # # @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> # @version 0.1 class Django < Platform::Fingerprinter def run return update_platforms if server_or_powered_by_include?( 'django' ) headers.keys.each do |header| return update_platforms if header.start_with?( 'x-django') end end def update_platforms platforms << :python << :django end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
arachni-1.5.1 | components/fingerprinters/frameworks/django.rb |
arachni-1.5 | components/fingerprinters/frameworks/django.rb |