structs

package
v0.0.0-...-d66a22c Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeDomain     = 1
	TypeDomainPort = 2
	TypeIPRange    = 3
	TypeCIDR       = 4
	TypeIP         = 5
	TypeIPPort     = 6
	TypeURL        = 7
	TypeUnSupport  = 0
)

Variables

View Source
var AddScanEnd int
View Source
var AddScanNum int
View Source
var DirDB map[string][]string
View Source
var FingerprintDB []FingerPEntity
View Source
var GlobalBannerHMap *hybrid.HybridMap
View Source
var GlobalHttpBodyHMap *hybrid.HybridMap
View Source
var GlobalHttpHeaderHMap *hybrid.HybridMap
View Source
var GlobalIPDomainMap map[string][]string

GlobalIPDomainMap 存储ip->domains的关系

View Source
var GlobalIPDomainMapLock sync.Mutex
View Source
var GlobalIPPortMap map[string]string

GlobalIPPortMap IP:Port : Protocol

View Source
var GlobalIPPortMapLock sync.Mutex
View Source
var GlobalResultMap map[string][]string

GlobalResultMap 存储识别到的指纹

View Source
var GlobalURLMap map[string]URLEntity

GlobalURLMap RootURL:URLEntity

View Source
var GlobalURLMapLock sync.Mutex
View Source
var GoPocsResults []GoPocsResultType

GoPocsResults 存储Go Poc的输出

View Source
var ShiroKeys []string
View Source
var WorkFlowDB map[string]WorkFlowEntity

Functions

This section is empty.

Types

type CDNResult

type CDNResult struct {
	Domain  string
	IsCDN   bool
	CDNName string
	IPs     []net.IP
}

type Config

type Config struct {
	Targets                    []string
	Ports                      string
	NoSubdomainBruteForce      bool
	NoSubFinder                bool
	Subdomain                  bool
	SubdomainBruteForceThreads int
	SkipHostDiscovery          bool
	PortScanType               string
	GetBannerThreads           int
	TCPPortScanThreads         int
	SYNPortScanThreads         int
	PortsThreshold             int
	TCPPortScanTimeout         int
	MasscanPath                string
	AllowLocalAreaDomain       bool
	HTTPProxy                  string
	Hunter                     bool
	HunterPageSize             int
	HunterMaxPageCount         int
	Fofa                       bool
	FofaMaxCount               int
	NoDirSearch                bool
	ReportName                 string
	GoPocThreads               int
	CheckPoc                   string
}
var GlobalConfig Config

type FingerPEntity

type FingerPEntity struct {
	ProductName      string
	AllString        string
	Rule             []RuleData
	IsExposureDetect bool
}

type GoPocsResultType

type GoPocsResultType struct {
	PocName     string
	Security    string
	Description string
	Target      string
	InfoLeft    string
	InfoRight   string
}

type HostInfo

type HostInfo struct {
	Host     string
	Ports    string
	Url      string
	InfoStr  []string
	UserPass []string
}

type PasswordDatabaseEntity

type PasswordDatabaseEntity struct {
	Keys      []string
	Passwords []string
	Hints     []string
}

type PortEntity

type PortEntity struct {
	Protocol   string // 协议
	BannerHash string // 响应
}

type ProtocolResult

type ProtocolResult struct {
	IP       string
	Port     int
	Status   int
	Response *gonmap.Response
}

type RuleData

type RuleData struct {
	Start int
	End   int
	Op    int16  // 0= 1!= 2== 3>= 4<= 5~=
	Key   string // body="123"中的body
	Value string // body="123"中的123
	All   string // body="123"
}

type URLEntity

type URLEntity struct {
	IP       string
	Port     int
	WebPaths map[string]UrlPathEntity
	Cert     string // TLS证书
}

type UrlPathEntity

type UrlPathEntity struct {
	// Path             string // 根目录为/
	Hash             string // md5
	IconHash         string //mmh3
	Title            string
	StatusCode       int
	ContentType      string
	Server           string
	ContentLength    int
	HeaderHashString string
}

type UserPasswd

type UserPasswd struct {
	UserName string
	Password string
}

type WorkFlowEntity

type WorkFlowEntity struct {
	RootType bool
	DirType  bool
	BaseType bool
	PocsName []string
}

Jump to

Keyboard shortcuts

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