pkg

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterTargetsByTemplatePorts added in v0.2.0

func FilterTargetsByTemplatePorts(ctx context.Context, targetsFile, templatesFile, scanID, chunkID string) ([]string, []string, error)

FilterTargetsByTemplatePorts extracts ports from templates, runs naabu against (host x ports), and returns the URLs whose ports were reachable plus the merged port list.

func GetNucleiDefaultTemplateDir added in v0.2.0

func GetNucleiDefaultTemplateDir() string

GetNucleiDefaultTemplateDir returns the default nuclei template directory, cached.

func Run

func Run(ctx context.Context, task *types.Task) (*types.TaskResult, []string, error)

Types

This section is empty.

Directories

Path Synopsis
Package agentdb persists agent info, structured logs, and resource metrics in a local SQLite database so they survive restarts and can be uploaded for offline investigation.
Package agentdb persists agent info, structured logs, and resource metrics in a local SQLite database so they survive restarts and can be uploaded for offline investigation.
Package envconfig owns every environment variable the agent reads.
Package envconfig owns every environment variable the agent reads.
Package path is useful for managing PATH as part of the Environment in the Windows HKey Local User registry.
Package path is useful for managing PATH as part of the Environment in the Windows HKey Local User registry.
Package prereq runs pd-agent's startup preflight: warm up the embedded headless browser and warn on Windows if Defender exclusions aren't set.
Package prereq runs pd-agent's startup preflight: warm up the embedded headless browser and warn on Windows if Defender exclusions aren't set.
Package runtools embeds ProjectDiscovery scanners (tlsx, dnsx, httpx, naabu, nuclei) as Go SDK calls.
Package runtools embeds ProjectDiscovery scanners (tlsx, dnsx, httpx, naabu, nuclei) as Go SDK calls.
Package selfupdate downloads a new pd-agent binary from GitHub releases and replaces the running binary via rename + syscall.Exec.
Package selfupdate downloads a new pd-agent binary from GitHub releases and replaces the running binary via rename + syscall.Exec.

Jump to

Keyboard shortcuts

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