pentest

package
v0.0.192 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2026 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PerformCVEScan added in v0.0.124

PerformCVEScan executes CVE scanning. It runs two execution paths and merges their results into a single PentestCveReport:

  1. The nuclei engine, filtered by the same --years and --protocol the user supplies on the CLI.
  2. Custom Go-native detectors registered in internal/pentest/cve, filtered by the same flags so behavior is consistent across both paths.

Both paths produce []*nuclei.NucleiTargetInfo, so the merged report is identical in shape regardless of which detector type produced an attempt.

Types

type Engine

type Engine struct{}

Engine provides the main orchestration for pentest spray operations. Service-specific pentest operations are handled by their respective packages (smb, ssh, telnet, ldap, kerberos, msrpc, winrm, ftp).

func NewEngine

func NewEngine() *Engine

NewEngine creates a new pentest engine

func (*Engine) RunSprayPassword added in v0.0.51

RunSprayPassword executes password spraying attacks against specified targets

Directories

Path Synopsis
cve
Package cve provides an adapter framework for non-nuclei CVE detection.
Package cve provides an adapter framework for non-nuclei CVE detection.
detectors
CVE-2017-0144 (EternalBlue / MS17-010) detector for the pentest cve custom-detector adapter.
CVE-2017-0144 (EternalBlue / MS17-010) detector for the pentest cve custom-detector adapter.
ftp
ftpclient
Package ftpclient is a minimal FTP client that supports both passive (EPSV/PASV) and active (PORT/EPRT) data connection modes, with explicit context propagation for connect and data transfer operations.
Package ftpclient is a minimal FTP client that supports both passive (EPSV/PASV) and active (PORT/EPRT) data connection modes, with explicit context propagation for connect and data transfer operations.
Package mongodb provides MongoDB penetration testing functionality
Package mongodb provides MongoDB penetration testing functionality
Package postgres implements PostgreSQL credential spray and query execution.
Package postgres implements PostgreSQL credential spray and query execution.
rdp
Package rdp implements pentest operations for the Remote Desktop Protocol (RDP).
Package rdp implements pentest operations for the Remote Desktop Protocol (RDP).
bluekeep
Package bluekeep implements the CVE-2019-0708 (BlueKeep) precondition validation against Windows RDP servers.
Package bluekeep implements the CVE-2019-0708 (BlueKeep) precondition validation against Windows RDP servers.
smb
eternalblue
Package eternalblue implements the CVE-2017-0144 (EternalBlue / MS17-010) precondition validation against Windows SMB servers.
Package eternalblue implements the CVE-2017-0144 (EternalBlue / MS17-010) precondition validation against Windows SMB servers.
Package snmp implements active SNMP pentest operations (write-access probing).
Package snmp implements active SNMP pentest operations (write-access probing).
Package ssh — FILE_TRANSFER action implementation.
Package ssh — FILE_TRANSFER action implementation.

Jump to

Keyboard shortcuts

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