module Nmapr::Options::Miscellaneos

Public Instance Methods

aggressive() click to toggle source
# File lib/nmapr/options/miscellaneos.rb, line 20
def aggressive 
  add_argument("-A")
end
fast() click to toggle source
# File lib/nmapr/options/miscellaneos.rb, line 38
def fast 
  add_argument("-F")
end
ip_protocol() click to toggle source
# File lib/nmapr/options/miscellaneos.rb, line 28
def ip_protocol
  add_argument("-sO")
end
ipv6() click to toggle source
# File lib/nmapr/options/miscellaneos.rb, line 4
def ipv6
  add_argument("-6")
end
just_list() click to toggle source
# File lib/nmapr/options/miscellaneos.rb, line 32
def just_list 
  add_argument("-sL")
end
Also aliased as: list
list()
Alias for: just_list
privileged() click to toggle source
# File lib/nmapr/options/miscellaneos.rb, line 8
def privileged 
  add_argument("--privileged")
end
release_memory() click to toggle source
# File lib/nmapr/options/miscellaneos.rb, line 16
def release_memory 
  add_argument("--release-memory")
end
script(value, args = false) click to toggle source
# File lib/nmapr/options/miscellaneos.rb, line 42
def script(value, args = false)
  if args
    add_argument("--script-args " << args)
  end
  add_argument("--script " << value)
end
send(type) click to toggle source
# File lib/nmapr/options/miscellaneos.rb, line 49
def send(type)
  case type
  when :eth
    add_argument("--send-eth")
  when :ip
    add_argument("--send-ip")
  end
end
timing(value) click to toggle source
# File lib/nmapr/options/miscellaneos.rb, line 24
def timing(value)
  add_argument("-T" << value.to_s)
end
unprivileged() click to toggle source
# File lib/nmapr/options/miscellaneos.rb, line 12
def unprivileged 
  add_argument("--unprivileged")
end