Sha256: 8abbcbbdff40c450baeeb4bb1ee6536df54f401e7eb4de4066f2400deb49aa61
Contents?: true
Size: 652 Bytes
Versions: 5
Compression:
Stored size: 652 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 # Network port option. # # @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> class Arachni::Component::Options::Port < Arachni::Component::Options::Base def normalize effective_value.to_i end def valid? return false if !super (1..65535).include?( normalize ) end def type :port end end
Version data entries
5 entries across 5 versions & 1 rubygems