Documentation
¶
Index ¶
- type DefaultsFlags
- type DefaultsModule
- type DefaultsScanner
- func (s *DefaultsScanner) GetName() string
- func (s *DefaultsScanner) GetTrigger() string
- func (s *DefaultsScanner) Init(flags zgrab2.ScanFlags) error
- func (s *DefaultsScanner) InitPerSender(senderID int) error
- func (s *DefaultsScanner) Protocol() string
- func (s *DefaultsScanner) Scan(t zgrab2.ScanTarget) (zgrab2.ScanStatus, interface{}, error)
- type SSHFlags
- type SSHModule
- type SSHScanner
- func (s *SSHScanner) GetName() string
- func (s *SSHScanner) GetTrigger() string
- func (s *SSHScanner) Init(flags zgrab2.ScanFlags) error
- func (s *SSHScanner) InitPerSender(senderID int) error
- func (s *SSHScanner) Protocol() string
- func (s *SSHScanner) Scan(t zgrab2.ScanTarget) (zgrab2.ScanStatus, interface{}, error)
- type TLSFlags
- type TLSModule
- type TLSScanner
- func (s *TLSScanner) GetName() string
- func (s *TLSScanner) GetTrigger() string
- func (s *TLSScanner) Init(flags zgrab2.ScanFlags) error
- func (s *TLSScanner) InitPerSender(senderID int) error
- func (s *TLSScanner) Protocol() string
- func (s *TLSScanner) Scan(t zgrab2.ScanTarget) (zgrab2.ScanStatus, interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultsFlags ¶
func (*DefaultsFlags) Help ¶
func (f *DefaultsFlags) Help() string
func (*DefaultsFlags) Validate ¶
func (f *DefaultsFlags) Validate(args []string) error
type DefaultsModule ¶
type DefaultsModule struct { }
func (*DefaultsModule) NewFlags ¶
func (m *DefaultsModule) NewFlags() interface{}
func (*DefaultsModule) NewScanner ¶
func (m *DefaultsModule) NewScanner() zgrab2.Scanner
type DefaultsScanner ¶
type DefaultsScanner struct {
// contains filtered or unexported fields
}
func (*DefaultsScanner) GetName ¶
func (s *DefaultsScanner) GetName() string
func (*DefaultsScanner) GetTrigger ¶
func (s *DefaultsScanner) GetTrigger() string
func (*DefaultsScanner) InitPerSender ¶
func (s *DefaultsScanner) InitPerSender(senderID int) error
func (*DefaultsScanner) Protocol ¶
func (s *DefaultsScanner) Protocol() string
func (*DefaultsScanner) Scan ¶
func (s *DefaultsScanner) Scan(t zgrab2.ScanTarget) (zgrab2.ScanStatus, interface{}, error)
Experimental Scan: scans for web server configuration
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"` Verbose bool `long:"verbose" description:"Output additional information, including SSH client properties from the SSH handshake."` }
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) 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 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) 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).
Source Files
¶
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. |
Click to show internal directories.
Click to hide internal directories.