cmd

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: MIT Imports: 17 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:  "metabigor",
	Long: core.DESC,
}

Functions

func Execute

func Execute()

Execute main function

func GetShodanIPInfo

func GetShodanIPInfo(IP string)

func RootMessage

func RootMessage(cmd *cobra.Command, _ []string)

RootMessage print help message

func ScanHelp

func ScanHelp(cmd *cobra.Command, _ []string)

ScanHelp print help message

func StartJob

func StartJob(raw string)

func StoreData

func StoreData(data []string, options core.Options)

StoreData store data to output

func StoreTmpInput

func StoreTmpInput(raw []string, options core.Options) string

StoreTmpInput store list of string to tmp file

func TLDJob

func TLDJob(raw string)

Types

type AsnSummaryByCIDR

type AsnSummaryByCIDR struct {
	Number      int
	Description string
	CountryCode string
	CIDR        string
	Count       int
}

type ShodanIPInfo

type ShodanIPInfo struct {
	Cpes      []string `json:"cpes"`
	Hostnames []string `json:"hostnames"`
	IP        string   `json:"ip"`
	Ports     []int    `json:"ports"`
	Tags      []string `json:"tags"`
	Vulns     []string `json:"vulns"`
}

Jump to

Keyboard shortcuts

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