vars

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const P1fingerVer = "0.1.3"

Variables

View Source
var (
	Options = &flag.Options{}

	ExecDir = filepath.Dir(os.Args[0])
	FofaCli *FofaClient.FofaClient
	AppConf P1fingerConf

	RstChan chan RuleClient.DetectResult
	Rsts    [][]string
)
View Source
var (
	DetectResultTdSafe RuleClient.DetectResultTdSafeType //探测结果需要的数据
)

Functions

func LoadAppConf

func LoadAppConf(filePath string, config *P1fingerConf) error

Types

type P1fingerConf

type P1fingerConf struct {
	RuleMode string `yaml:"RuleMode"`

	FofaCredentials struct {
		Email  string `yaml:"Email"`
		ApiKey string `yaml:"ApiKey"`
	} `yaml:"FofaCredentials"`
}

Jump to

Keyboard shortcuts

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