spray/pkg/fingers.go
2024-05-16 18:35:39 +08:00

24 lines
582 B
Go

package pkg
import (
"bytes"
"github.com/chainreactors/fingers/common"
"net/http"
)
// gogo fingers engine
func FingersDetect(content []byte) common.Frameworks {
frames, _ := FingerEngine.FingersEngine.HTTPMatch(bytes.ToLower(content), "")
return frames
}
func FingerPrintHubDetect(header http.Header, body string) common.Frameworks {
frames := FingerEngine.FingerPrintEngine.Match(header, body)
return frames
}
func WappalyzerDetect(header http.Header, body []byte) common.Frameworks {
frames := FingerEngine.WappalyzerEngine.Fingerprint(header, body)
return frames
}