lib/ronin/fuzzing/fuzzing.rb in ronin-support-0.5.1 vs lib/ronin/fuzzing/fuzzing.rb in ronin-support-0.5.2

- old
+ new

@@ -1,22 +1,22 @@ # -# Copyright (c) 2006-2012 Hal Brodigan (postmodern.mod3 at gmail.com) +# Copyright (c) 2006-2021 Hal Brodigan (postmodern.mod3 at gmail.com) # -# This file is part of Ronin Support. +# This file is part of ronin-support. # -# Ronin Support is free software: you can redistribute it and/or modify +# ronin-support is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published # by the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # -# Ronin Support is distributed in the hope that it will be useful, +# ronin-support is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License -# along with Ronin Support. If not, see <http://www.gnu.org/licenses/>. +# along with ronin-support. If not, see <https://www.gnu.org/licenses/>. # require 'set' module Ronin @@ -27,13 +27,13 @@ # # @since 0.4.0 # module Fuzzing # Short String lengths - SHORT_LENGTHS = SortedSet[1, 100, 500, 1_000, 10_000] + SHORT_LENGTHS = Set[1, 100, 500, 1_000, 10_000] # Long String lengths - LONG_LENGTHS = SortedSet[ + LONG_LENGTHS = Set[ 128, 255, 256, 257, 511, 512, 513, 1023, 1024, 2048, 2049, 4095, 4096, 4097, 5_000, 10_000, 20_000, 32762, 32763, 32764, 32765, 32766, 32767, 32768, 32769, 0xffff-2, 0xffff-1, 0xffff, 0xffff+1, 0xffff+2, 99_999, 100_000, 500_000, 1_000_000