
Une implémentation Go haute performance de la bibliothèque de détection de technologies Wappalyzer
Un port haute performance de la bibliothèque de détection de technologies Wappalyzer vers Go. Inspiré par Webanalyze.
Utilise les données de
go install -v github.com/projectdiscovery/wappalyzergo/cmd/update-fingerprints@latest
Après cette commande, le code source de la bibliothèque wappalyzergo sera dans votre go.mod actuel.
Exemple d'utilisation :
package main
import (
"fmt"
"io"
"log"
"net/http"
wappalyzer "github.com/projectdiscovery/wappalyzergo"
)
func main() {
resp, err := http.DefaultClient.Get("https://www.hackerone.com")
if err != nil {
log.Fatal(err)
}
data, _ := io.ReadAll(resp.Body) // Ignoring error for example
wappalyzerClient, err := wappalyzer.New()
fingerprints := wappalyzerClient.Fingerprint(resp.Header, data)
fmt.Printf("%v\n", fingerprints)
// Output: map[Acquia Cloud Platform:{} Amazon EC2:{} Apache:{} Cloudflare:{} Drupal:{} PHP:{} Percona:{} React:{} Varnish:{}]
}