class Masscan::Banner
Represents a banner record.
Public Class Methods
new(protocol: , port: , ttl: nil, ip: , timestamp: , app_protocol: , payload: )
click to toggle source
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
Calls superclass method
# File lib/masscan/banner.rb, line 33 def initialize(protocol: , port: , ttl: nil, ip: , timestamp: , app_protocol: , payload: ) super(protocol,port,ttl,ip,timestamp,app_protocol,payload) end