phonehome

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HttpClientRequest

func HttpClientRequest(baseURL *string, path *string, data []byte, method *string, token *string) (*http.Response, error)

Types

type CommunicateResp

type CommunicateResp struct {
	NewTasks []database.Task   `json:"new_tasks"`
	Results  []database.Result `json:"results"`
}

func Communicate

func Communicate(baseUrl string, token string) (*CommunicateResp, error)

type LinkResp

type LinkResp struct {
	Token  string `json:"token"`
	Shodan string `json:"shodan"`
	Otx    string `json:"otx"`
}
func Link(baseURL string, linkToken string) (*LinkResp, error)

Jump to

Keyboard shortcuts

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