- Include
Enumerableinto {Masscan::OutputFile}. - Improvements to {Masscan::Command}:
- Added the
rotateattribute for the--rotateoption. - Allow the
portsattribute to accept a raw String value. - Improve validation of String values passed to
ports,adapter_port,range,shards, andipsattributes. - Correct the type used for the
excludeattribute.
- Added the
- Switched to using
require_relativeto improve load-times. - Added
# frozen_string_literal: trueto all files.
- Corrected option definitions:
- The
--rangeoption expects a IP or CIDR range value. - The
--excludeoption requires a value. --range,--exclude,--excludefile,--includefileoptions may be repeated.- The --pcap-payloads` option expects a file.
- The
--retriesoption requires an argument.
- The
- Unescape
\\xXXhex escaped characters in payload strings parsed from.listmasscan files.
- Replaced the
rprogramdependency with command_mapper. - Fixed a typo in the mapping of the
-oJoption 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
masscancommand. - Supports parsing masscan Binary, List, and JSON output files.
- Provides a Ruby interface for running the