Documentation
¶
Overview ¶
Package postgres provides PostgreSQL service enumeration via raw TCP SSLRequest and startup message handshake.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LibraryEnumeratePostgres ¶
type LibraryEnumeratePostgres struct{}
LibraryEnumeratePostgres implements NetworkApplicationLibrary for PostgreSQL enumeration. It probes PostgreSQL targets via raw TCP SSLRequest and startup message handshake.
func (*LibraryEnumeratePostgres) EnumerateTarget ¶
func (p *LibraryEnumeratePostgres) EnumerateTarget(ctx context.Context, target string) (*enumeratefern.EnumerateServiceDetails, []string)
EnumerateTarget connects to a PostgreSQL instance, probes SSL support, reads startup message parameters, and optionally lists databases when trust authentication is observed.
Click to show internal directories.
Click to hide internal directories.