utils

package
v0.0.82 Latest Latest
Warning

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

Go to latest
Published: May 9, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEntriesFromFiles

func GetEntriesFromFiles(paths []string) ([]string, error)

func GetHeader added in v0.0.65

func GetHeader(r *common.RequestInfo, name string) string

GetHeader is a generic header helper (case‑insensitive)

func GetHeaderValues added in v0.0.65

func GetHeaderValues(r *common.RequestInfo, name string) []string

GetHeaderValues is a generic header helper (case‑insensitive)

func PerformRequestScan added in v0.0.44

func PerformRequestScan(options RequestOptions) common.RequestInfo

func SplitTarget added in v0.0.44

func SplitTarget(target string) (string, string, error)

SplitTarget splits a target URL into its base URL and path components.

Types

type RequestOptions added in v0.0.82

type RequestOptions struct {
	BaseURL         string
	Path            string
	Method          common.HttpMethod
	Params          common.RequestParams
	FollowRedirects bool
	Insecure        bool
	Timeout         int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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