mirror of
https://github.com/chainreactors/spray.git
synced 2025-09-15 11:40:13 +00:00
18 lines
369 B
Go
18 lines
369 B
Go
package pkg
|
|
|
|
import (
|
|
"bytes"
|
|
"github.com/chainreactors/fingers/common"
|
|
)
|
|
|
|
// gogo fingers engine
|
|
func FingersDetect(content []byte) common.Frameworks {
|
|
frames, _ := FingerEngine.Fingers().HTTPMatch(bytes.ToLower(content), "")
|
|
return frames
|
|
}
|
|
|
|
func EngineDetect(content []byte) common.Frameworks {
|
|
frames, _ := FingerEngine.DetectContent(content)
|
|
return frames
|
|
}
|