Skip to content

Releases: postmodern/ruby-nmap

1.0.3

25 Jan 11:40
v1.0.3
Compare
Choose a tag to compare
  • Switched to using require_relative to improve load-times.
  • Added # frozen_string_literal: true to all files.

Nmap::Command

  • The --mtu option now accepts an option numeric value.

1.0.2

01 Sep 20:08
v1.0.2
Compare
Choose a tag to compare
  • Fixed a typo in the --unprivileged option mapping.
  • Improved validations for port number, service name, port range, and
    port list String values.

1.0.1

01 Sep 20:09
v1.0.1
Compare
Choose a tag to compare
  • Fixed an infinite loop in Nmap::XML::Script#parse_tables. (@myztique)

1.0.0

01 Sep 20:13
v1.0.0
Compare
Choose a tag to compare
  • Switched from rprogram to command_mapper.
  • Replaced Nmap::Program and Nmap::Task with Nmap::Command.
  • Moved all XML classes under Nmap::XML.
  • See UPGRADING for more details on how to upgrade from 0.10.0 to 1.0.0.

Nmap::Command

  • Added support for the --unique option as nmap.unique.
  • Added support for the --resolve-all option as nmap.resolve_all.
  • Added support for the --noninteractive option as nmap.non_interactive.
  • Added support for the --proxies option as nmap.proxies.
  • Added support for the --data option as nmap.data.
  • Added support for the --data-string option as nmap.data_string.
  • Added support for the --script-help option as nmap.script_help.
  • Added support for the --script-args-file option as nmap.script_args_file.
  • Added support for the --script-timeout option as nmap.script_timeout.
  • Added support for the --initial-rtt-timeout option as
    nmap.initial_rtt_timeout.
  • Added support for the -vv option as nmap.extra_verbose.
  • Allow passing Integer values to verbose: or nmap.verbose= for
    -vlevel.
  • Greatly improved the validation of input values.
  • Removed #script_params and #script_params= aliases for #script_args and
    #script_args=.

Nmap::XML

  • Removed the deprecated Nmap::XML.load method in favor of Nmap::XML.parse.
  • Removed the Nmap::XML#prescripts alias to Nmap::XML#prescript.
  • Removed the Nmap::XML#postscripts alias to Nmap::XML#postscript.
  • Removed Nmap::XML::Host#tcpsequence in favor of
    Nmap::XML::Host#tcp_sequence.
  • Removed Nmap::XML::Host#ipidsequence in favor of
    Nmap::XML::Host#ip_id_sequence.
  • Removed Nmap::XML::Host#tcptssequence in favor of
    Nmap::XML::Host#tcp_ts_sequence.
  • Removed Nmap::XML#inspect method.
  • Added Nmap::XML::Script.
  • Removed Nmap::XML::Scripts#script_data.
  • Changed Nmap::XML::Scripts#scripts to return Nmap::XML::Script objects.