Sha256: b1242f0195188ccace51a1739ac5b2ceac862bd6454d5e9ff51fc6b0751d786b

Contents?: true

Size: 743 Bytes

Versions: 4

Compression:

Stored size: 743 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 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

4 entries across 4 versions & 1 rubygems

Version Path
arachni-1.3.2 components/fingerprinters/frameworks/nette.rb
arachni-1.3.1 components/fingerprinters/frameworks/nette.rb
arachni-1.3 components/fingerprinters/frameworks/nette.rb
arachni-1.2.1 components/fingerprinters/frameworks/nette.rb