Help us shape the future of Go! Take the 2026 Go Developer Survey

oracle

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectOraclePublic

func ConnectOraclePublic(ctx context.Context, target, username, password, sid, serviceName string, timeoutMs int) (*sql.DB, error)

ConnectOraclePublic is exported for use by spray operations. sid and serviceName are Oracle-specific identifiers; when both are empty the default service name "ORCL" is used. Callers should prefer serviceName for modern Oracle 12c+ deployments and sid for older SID-based listeners.

func PerformAuthentication

func PerformAuthentication(ctx context.Context, target, sid string, config *oraclefern.PentestOracleConfig) (*oraclefern.OracleAuthResult, *sql.DB, error)

PerformAuthentication attempts Oracle authentication for all configured credential pairs.

func PerformListener

func PerformListener(ctx context.Context, target string, config *oraclefern.PentestOracleConfig) (*oraclefern.OracleListenerResult, error)

PerformListener enumerates Oracle listener metadata, SIDs, and services via TNS commands.

func PerformProbe

func PerformProbe(ctx context.Context, target, sid string, config *oraclefern.PentestOracleConfig) (*oraclefern.OracleProbeResult, error)

PerformProbe sends a TNS CONNECT packet with a bogus service name and parses the REFUSE response.

func PerformQueries

func PerformQueries(ctx context.Context, target string, db *sql.DB, config *oraclefern.OracleQueryConfig) (*oraclefern.OracleQueryResultSet, error)

PerformQueries runs the configured discovery queries against an authenticated Oracle connection.

func RunPentest

RunPentest performs Oracle pentest operations for multiple targets.

Types

This section is empty.

Jump to

Keyboard shortcuts

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