Sha256: 2d9718f884981278766ee58857f38a20d5881d8868e6f41cd4bca25586049132
Contents?: true
Size: 918 Bytes
Versions: 4
Compression:
Stored size: 918 Bytes
Contents
module Masscan # # Represents a banner record. # class Banner < Struct.new(:protocol,:port,:ttl,:ip,:timestamp,:app_protocol,:payload) # # Initializes the banner. # # @param [:icmp, :tcp, :udp, :sctp] protocol # The IP protocol. # # @param [Integer] port # The port number. # # @param [Integer, nil] ttl # The optional TTL. # # @param [IPAddr] ip # The IP address. # # @param [Time] timestamp # The record timestamp. # # @param [Symbol] app_protocol # The application protocol. # # @param [String] payload # The banner/capture payload. # # @api private # def initialize(protocol: , port: , ttl: nil, ip: , timestamp: , app_protocol: , payload: ) super(protocol,port,ttl,ip,timestamp,app_protocol,payload) end alias service app_protocol alias banner payload end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ruby-masscan-0.2.2 | lib/masscan/banner.rb |
ruby-masscan-0.2.1 | lib/masscan/banner.rb |
ruby-masscan-0.2.0 | lib/masscan/banner.rb |
ruby-masscan-0.1.1 | lib/masscan/banner.rb |