Sha256: 1a7c244c6cdb009a002c52f851b5f081ad1e85db33ddce859ff6c51b187bd5b7

Contents?: true

Size: 728 Bytes

Versions: 5

Compression:

Stored size: 728 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 Nette Framework cookies.
#
# @author Tomas Dobrotka <tomas@dobrotka.sk>
# @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com>
# @version 0.1
class Nette < Platform::Fingerprinter

    def run
        return if !server_or_powered_by_include?( 'Nette' ) &&
            !cookies.include?( 'nette-browser' )

        platforms << :php << :nette
    end

end

end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arachni-1.6.1.3 components/fingerprinters/frameworks/nette.rb
arachni-1.6.1.2 components/fingerprinters/frameworks/nette.rb
arachni-1.6.1.1 components/fingerprinters/frameworks/nette.rb
arachni-1.6.1 components/fingerprinters/frameworks/nette.rb
arachni-1.6.0 components/fingerprinters/frameworks/nette.rb