hunter

package
v1.2.1-sp4 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: AGPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HunterResult

type HunterResult struct {
	Code int    `json:"code"`
	Msg  string `json:"msg"`
	Data struct {
		Total int `json:"total"`
		Time  int `json:"time"`
		Arr   []struct {
			WebTitle     string `json:"web_title"`
			IP           string `json:"ip"`
			Port         int    `json:"port"`
			BaseProtocol string `json:"base_protocol"`
			Protocol     string `json:"protocol"`
			Domain       string `json:"domain"`
			Component    []struct {
				Name    string `json:"name"`
				Version string `json:"version"`
			} `json:"component"`
			URL            string `json:"url"`
			Os             string `json:"os"`
			Country        string `json:"country"`
			Province       string `json:"province"`
			City           string `json:"city"`
			UpdatedAt      string `json:"updated_at"`
			StatusCode     int    `json:"status_code"`
			Number         string `json:"number"`
			Company        string `json:"company"`
			IsWeb          string `json:"is_web"`
			IsRisk         string `json:"is_risk"`
			IsRiskProtocol string `json:"is_risk_protocol"`
			AsOrg          string `json:"as_org"`
			Isp            string `json:"isp"`
			Banner         string `json:"banner"`
		} `json:"arr"`
		ConsumeQuota string `json:"consume_quota"`
		RestQuota    string `json:"rest_quota"`
	} `json:"data"`
}

func HunterQuery

func HunterQuery(username, key string, query string, page, limit int) (*HunterResult, error)

Jump to

Keyboard shortcuts

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