proxyutils

package
v0.11.14 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: MIT Imports: 13 Imported by: 32 modules, 16 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

proxy utils

Documentation

Overview

Package proxyutils validates proxy URLs and probes proxies to find one that accepts connections.

Index

Constants

View Source
const (
	SOCKS5 = "socks5"
	HTTP   = "http"
	HTTPS  = "https"
)

Variables

View Source
var ProxyProbeConcurrency = 8

ProxyProbeConcurrency (default 8)

Functions

func GetAnyAliveProxy

func GetAnyAliveProxy(timeoutInSec int, proxies ...string) (string, error)

GetAnyAliveProxy takes proxies as input and returns the first alive proxy or returns error if all of them not alive

func GetProxyURL

func GetProxyURL(proxyAddr string) (url.URL, error)

GetProxyURL returns a Proxy URL after validating if given proxy url is valid

func IsBurp

func IsBurp(proxyURL string) (bool, error)

IsBurp checks if the target proxy URL is burp suite

func ValidateOne

func ValidateOne(proxies ...string) (string, error)

ValidateOne returns the first valid proxy from a list of proxies by setting up a test connection with scanme.sh

Types

This section is empty.

Jump to

Keyboard shortcuts

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