Sha256: 7ab3a04974c649e7c430e8c036cc17f5a0ba9873d2ec1a5408364c086c72a0bd
Contents?: true
Size: 659 Bytes
Versions: 7
Compression:
Stored size: 659 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 require 'socket' # Network address option. # # @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> class Arachni::Component::Options::Address < Arachni::Component::Options::Base def valid? return false if !super !!IPSocket.getaddress( effective_value ) rescue false end def type :address end end
Version data entries
7 entries across 7 versions & 1 rubygems