Module: Ronin::App::Types::Nmap

Defined in:
lib/ronin/app/types/nmap.rb

Constant Summary collapse

Time =

Represents a time value.

Types::String.constrained(format: ::Nmap::Command::Time::REGEXP)
HexString =

Represents a hex string for the --data option (ex: 123ABC).

Types::String.constrained(format: ::Nmap::Command::HexString::REGEXP)
Port =

Represents a port number (ex: 80).

Types::String.constrained(format: ::Nmap::Command::Port::REGEXP)
PortRange =

Represent a port-range (ex: 80 or 1-80).

Types::String.constrained(format: ::Nmap::Command::PortRange::REGEXP)
PortRangeList =

Represent a comma separated list of port-ranges (ex: 1-80,443).

Types::String.constrained(format: ::Nmap::Command::PortRangeList::REGEXP)
ProtocolList =

Represents a protocol list for the -PO option.

PortRangeList
ScanFlag =

Represents a single flag value for the --scanflags option.

Types::Symbol.enum(
  urg: 'urg',
  ack: 'ack',
  psh: 'psh',
  rst: 'rst',
  syn: 'syn',
  fin: 'fin'
)
ScanFlags =

Represents --scanflags value.

Types::Array.of(ScanFlag)
NsockEngine =

Represents a value for the --nsock-engine option.

Types::String.enum(
  'iocp',
  'epoll',
  'kqueue',
  'poll',
  'select'
)
TimingTemplate =

Represents a value for the --timing-template option.

Types::String.enum(
  'paranoid',
  'sneaky',
  'polite',
  'normal',
  'aggressive',
  'insane'
)