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