modules

package
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2020 License: Apache-2.0, ISC Imports: 27 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSHFlags

type SSHFlags struct {
	zgrab2.BaseFlags
	ClientID          string `long:"client" description:"Specify the client ID string to use" default:"SSH-2.0-Go"`
	KexAlgorithms     string `long:"kex-algorithms" description:"Set SSH Key Exchange Algorithms"`
	HostKeyAlgorithms string `long:"host-key-algorithms" description:"Set SSH Host Key Algorithms"`
	Ciphers           string `long:"ciphers" description:"A comma-separated list of which ciphers to offer."`
	CollectUserAuth   bool   `long:"userauth" description:"Use the 'none' authentication request to see what userauth methods are allowed"`
	GexMinBits        uint   `long:"gex-min-bits" description:"The minimum number of bits for the DH GEX prime." default:"1024"`
	GexMaxBits        uint   `long:"gex-max-bits" description:"The maximum number of bits for the DH GEX prime." default:"8192"`
	GexPreferredBits  uint   `long:"gex-preferred-bits" description:"The preferred number of bits for the DH GEX prime." default:"2048"`
	HelloOnly         bool   `long:"hello-only" description:"Limit scan to the initial hello message"`
	Verbose           bool   `long:"verbose" description:"Output additional information, including SSH client properties from the SSH handshake."`
}

func (*SSHFlags) Help

func (f *SSHFlags) Help() string

func (*SSHFlags) Validate

func (f *SSHFlags) Validate(args []string) error

type SSHModule

type SSHModule struct {
}

func (*SSHModule) Description added in v0.1.3

func (m *SSHModule) Description() string

Description returns an overview of this module.

func (*SSHModule) NewFlags

func (m *SSHModule) NewFlags() interface{}

func (*SSHModule) NewScanner

func (m *SSHModule) NewScanner() zgrab2.Scanner

type SSHScanner

type SSHScanner struct {
	// contains filtered or unexported fields
}

func (*SSHScanner) GetName

func (s *SSHScanner) GetName() string

func (*SSHScanner) GetTrigger

func (s *SSHScanner) GetTrigger() string

func (*SSHScanner) Init

func (s *SSHScanner) Init(flags zgrab2.ScanFlags) error

func (*SSHScanner) InitPerSender

func (s *SSHScanner) InitPerSender(senderID int) error

func (*SSHScanner) Protocol

func (s *SSHScanner) Protocol() string

Protocol returns the protocol identifer for the scanner.

func (*SSHScanner) Scan

func (s *SSHScanner) Scan(t zgrab2.ScanTarget) (zgrab2.ScanStatus, interface{}, error)

type TLSFlags

type TLSFlags struct {
	zgrab2.BaseFlags
	zgrab2.TLSFlags
}

func (*TLSFlags) Help

func (f *TLSFlags) Help() string

func (*TLSFlags) Validate

func (f *TLSFlags) Validate(args []string) error

type TLSModule

type TLSModule struct {
}

func (*TLSModule) Description added in v0.1.3

func (m *TLSModule) Description() string

Description returns an overview of this module.

func (*TLSModule) NewFlags

func (m *TLSModule) NewFlags() interface{}

func (*TLSModule) NewScanner

func (m *TLSModule) NewScanner() zgrab2.Scanner

type TLSScanner

type TLSScanner struct {
	// contains filtered or unexported fields
}

func (*TLSScanner) GetName

func (s *TLSScanner) GetName() string

func (*TLSScanner) GetTrigger

func (s *TLSScanner) GetTrigger() string

func (*TLSScanner) Init

func (s *TLSScanner) Init(flags zgrab2.ScanFlags) error

func (*TLSScanner) InitPerSender

func (s *TLSScanner) InitPerSender(senderID int) error

func (*TLSScanner) Protocol

func (s *TLSScanner) Protocol() string

Protocol returns the protocol identifer for the scanner.

func (*TLSScanner) Scan

func (s *TLSScanner) Scan(t zgrab2.ScanTarget) (zgrab2.ScanStatus, interface{}, error)

Scan opens a TCP connection to the target (default port 443), then performs a TLS handshake. If the handshake gets past the ServerHello stage, the handshake log is returned (along with any other TLS-related logs, such as heartbleed, if enabled).

Directories

Path Synopsis
Package bacnet provides a zgrab2 module that scans for bacnet.
Package bacnet provides a zgrab2 module that scans for bacnet.
Package dnp3 provides a zgrab2 module that scans for dnp3.
Package dnp3 provides a zgrab2 module that scans for dnp3.
Package fox provides a zgrab2 module that scans for fox.
Package fox provides a zgrab2 module that scans for fox.
Package ftp contains the zgrab2 Module implementation for FTP(S).
Package ftp contains the zgrab2 Module implementation for FTP(S).
Package http contains the zgrab2 Module implementation for HTTP(S).
Package http contains the zgrab2 Module implementation for HTTP(S).
Package imap provides a zgrab2 module that scans for IMAP mail servers.
Package imap provides a zgrab2 module that scans for IMAP mail servers.
Package ipp provides a zgrab2 module that scans for ipp.
Package ipp provides a zgrab2 module that scans for ipp.
Package modbus provides a zgrab2 module that scans for modbus.
Package modbus provides a zgrab2 module that scans for modbus.
Package mssql provides the zgrab2 scanner module for the MSSQL protocol.
Package mssql provides the zgrab2 scanner module for the MSSQL protocol.
Package mysql provides the mysql implementation of the zgrab2.Module.
Package mysql provides the mysql implementation of the zgrab2.Module.
Package ntp provides a zgrab2 module that probes for the NTP service.
Package ntp provides a zgrab2 module that probes for the NTP service.
Package oracle provides the zgrab2 scanner module for Oracle's TNS protocol.
Package oracle provides the zgrab2 scanner module for Oracle's TNS protocol.
Package pop3 provides a zgrab2 module that scans for POP3 mail servers.
Package pop3 provides a zgrab2 module that scans for POP3 mail servers.
Package postgres contains the postgres zgrab2 Module implementation.
Package postgres contains the postgres zgrab2 Module implementation.
Package redis provides a zgrab2 Module that probes for redis services.
Package redis provides a zgrab2 Module that probes for redis services.
Package siemens provides a zgrab2 module that scans for Siemens S7.
Package siemens provides a zgrab2 module that scans for Siemens S7.
Package smb provides a zgrab2 module that scans for smb.
Package smb provides a zgrab2 module that scans for smb.
Package smtp provides a zgrab2 module that scans for SMTP mail servers.
Package smtp provides a zgrab2 module that scans for SMTP mail servers.
Package telnet provides a zgrab2 module that scans for telnet daemons.
Package telnet provides a zgrab2 module that scans for telnet daemons.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL