Sha256: 946746f6c7076633e8d7db6a9ddf71c187422d57a7b614d8f016a01c4113d52e
Contents?: true
Size: 667 Bytes
Versions: 6
Compression:
Stored size: 667 Bytes
Contents
=begin Copyright 2010-2015 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 # 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
6 entries across 6 versions & 1 rubygems