class Arachni::Component::Options::URL

URL option.

@author Tasos “Zapotek” Laskos <tasos.laskos@arachni-scanner.com>

Public Instance Methods

normalize() click to toggle source
# File lib/arachni/component/options/url.rb, line 14
def normalize
    Arachni::URI( effective_value )
end
type() click to toggle source
# File lib/arachni/component/options/url.rb, line 23
def type
    :url
end
valid?() click to toggle source
# File lib/arachni/component/options/url.rb, line 18
def valid?
    return false if !super
    IPSocket.getaddress( normalize.host ) rescue false
end