criminalip

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	URL = "https://api.criminalip.io/v1/banner/search?query=%s&offset=%d"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct{}

func (*Agent) Name

func (agent *Agent) Name() string

func (*Agent) Query

func (agent *Agent) Query(session *sources.Session, query *sources.Query) (chan sources.Result, error)

type CriminalIPRequest

type CriminalIPRequest struct {
	Query  string
	Offset int
}

type CriminalIPResponse

type CriminalIPResponse struct {
	Data   responseData `json:"data"`
	Msg    string       `json:"message"`
	Status int          `json:"status"`
}

type ResponseDataArr

type ResponseDataArr struct {
	IP     string `json:"ip_address"`
	Port   int    `json:"open_port_no"`
	Domain string `json:"hostname"`
}

Jump to

Keyboard shortcuts

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