Sha256: 2a76fd0cbe07ab8b70e8c8d64774c07645e845d5666c2c1dae9dab47d0b63528

Contents?: true

Size: 646 Bytes

Versions: 7

Compression:

Stored size: 646 Bytes

Contents

=begin
    Copyright 2010-2014 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 Ethon
class Easy
module Callbacks
    def debug_callback
        @debug_callback ||= proc do |handle, type, data, size, udata|
            message = data.read_string( size )
            @debug_info.add type, message
            # print message unless [:data_in, :data_out].include?(type)
            0
        end
    end
end
end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
arachni-1.0.6 lib/arachni/ethon/easy.rb
arachni-1.0.5 lib/arachni/ethon/easy.rb
arachni-1.0.4 lib/arachni/ethon/easy.rb
arachni-1.0.3 lib/arachni/ethon/easy.rb
arachni-1.0.2 lib/arachni/ethon/easy.rb
arachni-1.0.1 lib/arachni/ethon/easy.rb
arachni-1.0 lib/arachni/ethon/easy.rb