Documentation ¶
Index ¶
- Variables
- func ConnectNormally(addr string, port int) (net.Conn, error)
- func ConnectViaProxy(addr string, port int, connectType string) (net.Conn, error)
- func DetectResidual(ip string, port int, component string) (int, float64)
- func FetchISP() error
- func FetchProxy(path string) ([][]string, error)
- func GetTestDomains(countryCode string) ([]string, error)
- func ParseAuth() string
- func ParseEcho() string
- func ParseProxy() string
- func ParseSOCKS5ProxyFull(remoteDNS bool) string
- func PrintError(domain string, err error)
- func PrintInfo(domain string, info string)
- func ReadCsvFile(filePath string) ([][]string, error)
- func RemoveDuplicateStr(strSlice []string) []string
- func Repeat(s string, n int) string
- func ResetResidualDetector()
- func ResolveIPLocally(domain string) (string, error)
- func ResumeTLSSession(conn net.Conn, request string, sess TLSSession) (*http.Response, error)
- func Reverse(s string) string
- func SendHTTPSTraffic(conn net.Conn, request string, utlsConfig *utls.Config, ...) (*http.Response, error)
- func SendHTTPTraffic(conn net.Conn, request string) (*http.Response, error)
- func SetProxy(ip string, port int, username string, password string, proxyType string)
- type ResidualDetected
- type Response
- type TLSSession
Constants ¶
This section is empty.
Variables ¶
View Source
var AllResidualDetected []ResidualDetected
Functions ¶
func ConnectNormally ¶
ConnectNormally Connect to the address normally
func ConnectViaProxy ¶
ConnectViaProxy Connect to the address through the proxy
func FetchProxy ¶
func GetTestDomains ¶
func ParseProxy ¶
func ParseProxy() string
func ParseSOCKS5ProxyFull ¶
func PrintError ¶
func ReadCsvFile ¶
func RemoveDuplicateStr ¶
func ResetResidualDetector ¶
func ResetResidualDetector()
func ResolveIPLocally ¶
func ResumeTLSSession ¶
ResumeTLSSession
func SendHTTPSTraffic ¶
func SendHTTPSTraffic(conn net.Conn, request string, utlsConfig *utls.Config, extensions []utls.TLSExtension, chloID utls.ClientHelloID) (*http.Response, error)
SendHTTPSTraffic Send HTTP GET request with TLS and get response
func SendHTTPTraffic ¶
SendHTTPTraffic Send HTTP GET request and get response
Types ¶
type ResidualDetected ¶
type ResidualDetected struct {
// contains filtered or unexported fields
}
type Response ¶
type Response struct { IP string `json:"ip"` Country string `json:"country"` ASN struct { ASNum int `json:"asnum"` OrgName string `json:"org_name"` } `json:"asn"` Geo struct { City string `json:"city"` Region string `json:"region"` RegionName string `json:"region_name"` PostalCode string `json:"postal_code"` Latitude float64 `json:"latitude"` Longitude float64 `json:"longitude"` TimeZone string `json:"tz"` LumCity string `json:"lum_city"` LumRegion string `json:"lum_region"` } `json:"geo"` }
type TLSSession ¶
type TLSSession struct { ID []byte // contains filtered or unexported fields }
func GetNewTLSSession ¶
GetNewTLSSession
Click to show internal directories.
Click to hide internal directories.