Sha256: b271c74e9c5b8489ed50e9c859ac2e591b55d9b14a5cdd15e265013e87de074b
Contents?: true
Size: 644 Bytes
Versions: 5
Compression:
Stored size: 644 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 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
5 entries across 5 versions & 1 rubygems