Sha256: eab9033e1919e5c27aebb3db71801f0f3c4adfd5ca166860ac0bee9a70ee66a7

Contents?: true

Size: 803 Bytes

Versions: 6

Compression:

Stored size: 803 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 ASP resources.
#
# @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com>
#
# @version 0.1
#
class ASP < Platform::Fingerprinter

    EXTENSION = 'asp'
    SESSIONID = 'aspsessionid'

    def run
        return if extension != EXTENSION && !parameters.include?( SESSIONID ) &&
            !cookies.include?( SESSIONID ) && !server_or_powered_by_include?( 'asp' )

        platforms << :asp << :windows
    end

end

end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
arachni-1.3.2 components/fingerprinters/languages/asp.rb
arachni-1.3.1 components/fingerprinters/languages/asp.rb
arachni-1.3 components/fingerprinters/languages/asp.rb
arachni-1.2.1 components/fingerprinters/languages/asp.rb
arachni-1.2 components/fingerprinters/languages/asp.rb
arachni-1.1 components/fingerprinters/languages/asp.rb