oracle

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: Apache-2.0 Imports: 16 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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