Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Distance uint8 = 5 // 数字越小越相似, 数字为0则为完全一致.
Functions ¶
func UniqueHash ¶
Types ¶
type Baseline ¶
type Baseline struct {
*parsers.SprayResult
Url *url.URL `json:"-"`
Dir bool `json:"-"`
Chunked bool `json:"-"`
Body pkg.BS `json:"-"`
Header pkg.BS `json:"-"`
Raw pkg.BS `json:"-"`
Response *http.Response `json:"-"`
Recu bool `json:"-"`
RecuDepth int `json:"-"`
URLs []string `json:"-"`
Collected bool `json:"-"`
Retry int `json:"-"`
SameRedirectDomain bool `json:"-"`
IsBaseline bool `json:"-"`
}
func NewInvalidBaseline ¶
func (*Baseline) CollectURL ¶
func (bl *Baseline) CollectURL()
func (*Baseline) Compare ¶
Compare if totally equal return 1 if maybe equal return 0 not equal return -1
func (*Baseline) FuzzyCompare ¶
func (*Baseline) ProbeOutput ¶
Click to show internal directories.
Click to hide internal directories.