Sha256: 66957753cc5c35fbb897b8bf08d9ab754a852b5a564d1ba4163312ffb9eb5e94

Contents?: true

Size: 732 Bytes

Versions: 2

Compression:

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

2 entries across 2 versions & 1 rubygems

Version Path
arachni-1.5.1 components/fingerprinters/frameworks/nette.rb
arachni-1.5 components/fingerprinters/frameworks/nette.rb