- Include
Enumerable
into {Masscan::OutputFile}. - Improvements to {Masscan::Command}:
- Added the
rotate
attribute for the--rotate
option. - Allow the
ports
attribute to accept a raw String value. - Improve validation of String values passed to
ports
,adapter_port
,range
,shards
, andips
attributes. - Correct the type used for the
exclude
attribute.
- Added the
- Switched to using
require_relative
to improve load-times. - Added
# frozen_string_literal: true
to all files.
- Corrected option definitions:
- The
--range
option expects a IP or CIDR range value. - The
--exclude
option requires a value. --range
,--exclude
,--excludefile
,--includefile
options may be repeated.- The --pcap-payloads` option expects a file.
- The
--retries
option requires an argument.
- The
- Unescape
\\xXX
hex escaped characters in payload strings parsed from.list
masscan files.
- Replaced the
rprogram
dependency with command_mapper. - Fixed a typo in the mapping of the
-oJ
option flag. - Added {Masscan::OutputFile#to_s}.
- Added missing {Masscan::Banner#ttl}.
- Fixed {Masscan::Parsers::Binary} to populate {Masscan::Banner#ttl}.
- Fixed {Masscan::Parsers::Binary#parse_status} to populate {Masscan::Status#reason} and {Masscan::Status#ttl}.
- Initial release:
- Provides a Ruby interface for running the
masscan
command. - Supports parsing masscan Binary, List, and JSON output files.
- Provides a Ruby interface for running the