util

package
v0.0.0-...-78527f6 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildUrl

func BuildUrl(urlString string, challenge, proxyProtocol, proxyHost string, proxyPort uint16) string

func DeduplicateLinesRandomly

func DeduplicateLinesRandomly(inputFilepath string, outputFilepath string) (int, error)

func DetectFileFormat

func DetectFileFormat(inputFilepath string) (string, error)

func ExtractChallengeFromUrl

func ExtractChallengeFromUrl(urlString string) string

func ExtractHostPortFromUri

func ExtractHostPortFromUri(uri string) (host string, port uint16, err error)

func HandleChallenge

func HandleChallenge(challenge string) string

func ParseRecordCsv

func ParseRecordCsv(record []string) (string, string, uint16)

func ParseRecordXmap

func ParseRecordXmap(record []string) (string, string, uint16)

func SendVerificationHttpRequest

func SendVerificationHttpRequest(client *http.Client, url string, result *model.Result) error

func VerifyChallenge

func VerifyChallenge(challenge string, answer string) bool

func VerifyIntegrity

func VerifyIntegrity(responseBody []byte, challenge string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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