pkg

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2025 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PCDPApiServer = envutil.GetEnvOrDefault("PDCP_API_SERVER", "https://api.projectdiscovery.io")
)
View Source
var UnresponsiveHosts = mapsutil.NewSyncLockMap[string, struct{}]()

Functions

func CheckAllPrerequisites added in v0.1.1

func CheckAllPrerequisites() map[string]PrerequisiteCheckResult

CheckAllPrerequisites checks the default set of prerequisites: dnsx, nuclei, httpx, naabu, nmap

func CheckPrerequisites added in v0.1.1

func CheckPrerequisites(tools []string) map[string]PrerequisiteCheckResult

CheckPrerequisites checks if all required prerequisites are installed Returns a map of tool names to their check results

func ExtractUnresponsiveHosts

func ExtractUnresponsiveHosts(taskResult *types.TaskResult)

func Run

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

Types

type PrerequisiteCheckResult added in v0.1.1

type PrerequisiteCheckResult struct {
	ToolName string
	Found    bool
	Path     string
	Error    error
}

PrerequisiteCheckResult represents the result of checking a single prerequisite

type Tool

type Tool struct {
	Name string
	Args []string
}

Directories

Path Synopsis
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.

Jump to

Keyboard shortcuts

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