database

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MySQLLibrary

type MySQLLibrary struct{}

func (*MySQLLibrary) AnalyzeResponse

func (c *MySQLLibrary) AnalyzeResponse(data string) bool

AnalyzeResponse checks if the response contains MySQL keywords in error or banner messages

func (*MySQLLibrary) Name

func (*MySQLLibrary) StandardPorts

func (c *MySQLLibrary) StandardPorts() []int

func (*MySQLLibrary) TryProtocols

func (c *MySQLLibrary) TryProtocols(address string, timeout time.Duration) addressfern.TryProtocols

type PostgreSQLLibrary

type PostgreSQLLibrary struct{}

func (*PostgreSQLLibrary) AnalyzeResponse

func (c *PostgreSQLLibrary) AnalyzeResponse(data string) bool

AnalyzeResponse checks if the response contains PostgreSQL keywords in error or banner messages

func (*PostgreSQLLibrary) Name

func (*PostgreSQLLibrary) StandardPorts

func (c *PostgreSQLLibrary) StandardPorts() []int

func (*PostgreSQLLibrary) TryProtocols

func (c *PostgreSQLLibrary) TryProtocols(address string, timeout time.Duration) addressfern.TryProtocols

Jump to

Keyboard shortcuts

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