Versions in this module Expand all Collapse all v0 v0.1.9 Nov 10, 2022 Changes in this version + const DO + const DONT + const GO_AHEAD + const IAC + const IAC_CMD_LENGTH + const READ_BUFFER_LENGTH + const WILL + const WONT + func GetTelnetBanner(logStruct *TelnetLog, conn net.Conn, maxReadSize int) (err error) + func NegotiateOptions(logStruct *TelnetLog, conn net.Conn) error + func RegisterModule() + type Flags struct + Banner bool + MaxReadSize int + Verbose bool + func (flags *Flags) Help() string + func (flags *Flags) Validate(args []string) error + type Module struct + func (module *Module) Description() string + func (module *Module) NewFlags() interface{} + func (module *Module) NewScanner() zgrab2.Scanner + type Scanner struct + func (scanner *Scanner) GetName() string + func (scanner *Scanner) GetTrigger() string + func (scanner *Scanner) Init(flags zgrab2.ScanFlags) error + func (scanner *Scanner) InitPerSender(senderID int) error + func (scanner *Scanner) Protocol() string + func (scanner *Scanner) Scan(target zgrab2.ScanTarget) (zgrab2.ScanStatus, interface{}, error) + type TelnetLog struct + Banner string + Do []TelnetOption + Dont []TelnetOption + Will []TelnetOption + Wont []TelnetOption + type TelnetOption uint16 + func (opt *TelnetOption) MarshalJSON() ([]byte, error) + func (opt *TelnetOption) Name() string + func (opt *TelnetOption) UnmarshalJSON(b []byte) error