Skip to content

Latest commit

 

History

History
152 lines (124 loc) · 4.77 KB

ChangeLog.md

File metadata and controls

152 lines (124 loc) · 4.77 KB

0.9.2 / 2017-01-13

  • Fix file descriptor leak in {Nmap::XML#initialize} by using File.open(path) { |file| ... } instead of File.new(path), which keeps the file descriptor open until GC collects the File instance.

0.9.1 / 2016-07-18

  • Fixed {Nmap::Host#ipv6} when there are no ipv6 type addresses.
  • Fixed {Nmap::OS#fingerprint} when there is no osfingerprint element.

0.9.0 / 2016-07-14

  • Added {Nmap::Address#vendor}.
  • Added {Nmap::Service#to_s}.
  • Added {Nmap::HostScript}.
  • Added {Nmap::Prescript}.
  • Added {Nmap::Postscript}.
  • Added {Nmap::XML#prescript}.
  • Added {Nmap::XML#postscript}.
  • Added Nmap::Task#quiet (aka -v0).
  • #script_data methods can now parse arbitrarily nested Arrays/Hashes.
  • Fixed {Nmap::CPE#each_cpe} to only match child cpe elements, not all cpe elements within the document.
  • Changed {Nmap::Service#to_s} to output product/version only if both are present.
  • Changed Nmap::Task#skip_discovery to use -Pn instead of -PN, which was deprecated in nmap >= 7.00.

0.8.0 / 2014-04-16

  • Added {Nmap::XML#each_down_host}.
  • Added {Nmap::XML#down_hosts}.
  • Added {Nmap::XML#host}.
  • Added {Nmap::XML#up_host}.
  • Added {Nmap::XML#down_host}.
  • Added {Nmap::Host#hostname}.
  • Added {Nmap::Hostname#user?}.
  • Added {Nmap::Hostname#ptr?}.
  • Added {Nmap::Program.sudo_scan}.
  • Added {Nmap::Program#sudo_scan}.
  • Renamed {Nmap::XML.load} to {Nmap::XML.parse}.
  • Fixed a typo in the --privileged flag (@BrentonEarl)
  • Allow multiple values in the --script flag.
  • Alias {Nmap::Task#script_params} to script_args.

0.7.0 / 2014-05-09

  • Added {Nmap::CPE}.
  • Added {Nmap::CPE::URL}.
  • Added {Nmap::Hop}.
  • Added {Nmap::Hostname}.
  • Added {Nmap::Traceroute}.
  • Added {Nmap::Host#traceroute}.
  • Added {Nmap::Host#uptime}. (@roodee)
  • Added {Nmap::Service#ssl?}.
  • Added {Nmap::Service#protocol}.
  • Added {Nmap::Service#extra_info}.
  • Added {Nmap::Service#os_type}.
  • Added {Nmap::Service#device_type}.
  • Added {Nmap::Service#fingerprint}. (@roodee)
  • Added {Nmap::Uptime}. (@roodee)
  • Added {Nmap::RunStat}. (@roodee)
  • Added {Nmap::XML.load}. (@vzctl)
  • Added {Nmap::XML.open}.
  • Added {Nmap::XML#each_run_stat}.
  • Added {Nmap::XML#run_stats}.
  • Added {Nmap::XML#each_task}.
  • Fixed xpath bug in {Nmap::OS#each_class} (@roodee).

0.6.0 / 2012-11-07

  • Added {Nmap::Service}.
  • Renamed Nmap::IpidSequence to {Nmap::IpIdSequence}.
  • Renamed {Nmap::Host#ipidsequence} to {Nmap::Host#ip_id_sequence}.
  • Renamed {Nmap::Host#tcpsequence} to {Nmap::Host#tcp_sequence}.
  • Renamed {Nmap::Host#tcptssequence} to {Nmap::Host#tcp_ts_sequence}.

0.5.1 / 2012-05-27

0.5.0 / 2011-04-11

  • Require nokogiri ~> 1.3.
  • Require rprogram ~> 0.3.
  • ip_scan in {Nmap::Task} should map to -sO (thanks corvus).

0.4.1 / 2010-11-23

  • Fixed a bug in {Nmap::XML#each} where it was calling each_up_hosts, and not {Nmap::XML#each_up_host}.
  • {Nmap::OS#each_class}, {Nmap::OS#each_match}, {Nmap::XML#each_host} and {Nmap::XML#each_up_host} now return an Enumerator object if no block is given.
  • Use yield instead of block.call for a slight performance improvement.

0.4.0 / 2010-11-17

  • Added new options to {Nmap::Task} based on nmap 5.21:
    • -PY - nmap.sctp_init_ping
    • -PR - nmap.arp_ping
    • -sY - nmap.sctp_init_scan
    • -sZ - nmap.sctp_cookie_echo_scan
    • --allports - nmap.all_ports
    • -sR - nmap.rpc_scan
    • -T - nmap.timing_template
    • -T0 - nmap.paranoid_timing
    • -T1 - nmap.sneaky_timing
    • -T2 - nmap.polite_timing
    • -T3 - nmap.normal_timing
    • -T4 - nmap.aggressive_timing
    • -T5 - nmap.insane_timing
    • --randomize-hosts - nmap.randomize_hosts
    • --adler32 - nmap.sctp_adler32
    • -oA - nmap.output_all
    • -d - nmap.debug
    • --stats-every - nmap.stats_every
    • --release-memory - nmap.release_memory
  • Specify that ruby-nmap requires nmap >= 5.00.

0.3.0 / 2010-11-08

  • Added {Nmap::Host#scripts}.
  • Added {Nmap::Scripts#scripts Nmap::Port#scripts}.

0.2.0 / 2010-10-29

  • Require nokogiri >= 1.3.0.
  • Require rprogram ~> 0.2.0.
  • Added {Nmap::XML#tasks}.
  • Added {Nmap::Scanner#start_time}.
  • Added {Nmap::ScanTask#duration}.
  • Added {Nmap::Host#start_time}.
  • Added {Nmap::Host#end_time}.
  • Allow Nmap::Tasks#ports= to accept port ranges.
  • Omit the -p option if no ports are given to {Nmap::Task}.
  • Have the Nmap::Host#each_* methods return an Enumerator object if no block is given.

0.1.1 / 2010-01-02

  • Require RProgram >= 0.1.8.
    • Adds sudo and sudo= instance methods to {Nmap::Task}.

0.1.0 / 2009-11-13

  • Initial release.
    • Provides a Ruby interface for running Nmap.
    • Provides a Parser for enumerating Nmap XML scan files.