class Arachni::Component::Options::Port

Network port option.

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

Public Instance Methods

normalize() click to toggle source
# File lib/arachni/component/options/port.rb, line 14
def normalize
    effective_value.to_i
end
type() click to toggle source
# File lib/arachni/component/options/port.rb, line 23
def type
    :port
end
valid?() click to toggle source
# File lib/arachni/component/options/port.rb, line 18
def valid?
    return false if !super
    (1..65535).include?( normalize )
end