cmd

package
v0.0.0-...-f84f044 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type JSONOutput

type JSONOutput struct {
	Target    string       `json:"target"`
	StartTime string       `json:"start_time"`
	EndTime   string       `json:"end_time"`
	Results   []JSONResult `json:"results"`
	Summary   struct {
		Total       int64    `json:"total_requests"`
		Success     int64    `json:"successful_2xx"`
		Redirects   int64    `json:"redirects_3xx"`
		Errors      int64    `json:"errors_5xx"`
		Duration    string   `json:"duration"`
		SuccessRate float64  `json:"success_rate"`
		Bypasses    []string `json:"potential_bypasses"`
	} `json:"summary"`
}

JSONOutput represents the complete JSON output structure

type JSONResult

type JSONResult struct {
	Timestamp         string `json:"timestamp"`
	Status            int    `json:"status"`
	Size              int    `json:"size"`
	Result            string `json:"result"`
	Payload           string `json:"payload"`
	Technique         string `json:"technique"`
	IsPotentialBypass bool   `json:"is_potential_bypass"`
}

JSONResult represents a single result for JSON output

type RequestOptions

type RequestOptions struct {
	// contains filtered or unexported fields
}

type Result

type Result struct {
	// contains filtered or unexported fields
}

type WaybackResponse

type WaybackResponse struct {
	ArchivedSnapshots struct {
		Closest struct {
			Available bool   `json:"available"`
			URL       string `json:"url"`
			Timestamp string `json:"timestamp"`
		} `json:"closest"`
	} `json:"archived_snapshots"`
}

WaybackResponse represents the Wayback Machine API response

Jump to

Keyboard shortcuts

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