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.
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. |
Click to show internal directories.
Click to hide internal directories.