lib/nmap/command.rb in ruby-nmap-1.0.2 vs lib/nmap/command.rb in ruby-nmap-1.0.3
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require 'command_mapper/command'
module Nmap
#
# ## Nmap options:
@@ -732,10 +734,10 @@
option '-T4', name: :aggressive_timing
option '-T5', name: :insane_timing
# FIREWALL/IDS EVASION AND SPOOFING:
option '-f', name: :packet_fragments
- option '--mtu'
+ option '--mtu', value: {type: Num.new, required: false}
option '-D', name: :decoys, value: {type: List.new}
option '-S', name: :spoof, value: true
option '-e', name: :interface, value: true
option '-g', name: :source_port, value: {type: Port.new}
option '--proxies', value: {type: List.new}