fofa

package
v0.0.0-...-509a8f4 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2025 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetLogger

func SetLogger(log Logger)

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(email, key string) *Client

func (*Client) Search

func (f *Client) Search(keyword string) (int, []Result)

func (*Client) SetSize

func (f *Client) SetSize(i int)

type Logger

type Logger interface {
	Println(...interface{})
	Printf(string, ...interface{})
}

type ResponseJson

type ResponseJson struct {
	Error   bool       `json:"error"`
	Mode    string     `json:"mode"`
	Page    int        `json:"page"`
	Query   string     `json:"query"`
	Results [][]string `json:"results"`
	Size    int        `json:"size"`
}

type Result

type Result struct {
	Host, Title, Ip, Domain, Port, Country string
	Province, City, Country_name, Protocol string
	Server, Banner, Isp, As_organization   string
	Header, Cert                           string
}

func (Result) Map

func (r Result) Map() map[string]string

Jump to

Keyboard shortcuts

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