github.com/chainreactors/fingers@v1.2.1/wappalyzer/README.md (about) 1 # Wappalyzergo 2 3 A high performance port of the Wappalyzer Technology Detection Library to Go. Inspired by [Webanalyze](https://github.com/rverton/webanalyze). 4 5 Uses data from https://github.com/AliasIO/wappalyzer 6 7 ## Features 8 9 - Very simple and easy to use, with clean codebase. 10 - Normalized regexes + auto-updating database of wappalyzer fingerprints. 11 - Optimized for performance: parsing HTML manually for best speed. 12 13 ### Using *go install* 14 15 ```sh 16 go install -v github.com/projectdiscovery/wappalyzergo/cmd/update-fingerprints@latest 17 ``` 18 19 After this command *wappalyzergo* library source will be in your current go.mod. 20 21 ## Example 22 Usage Example: 23 24 ``` go 25 package main 26 27 import ( 28 "fmt" 29 "io" 30 "log" 31 "net/http" 32 33 wappalyzer "github.com/projectdiscovery/wappalyzergo" 34 ) 35 36 func main() { 37 resp, err := http.DefaultClient.Get("https://www.hackerone.com") 38 if err != nil { 39 log.Fatal(err) 40 } 41 data, _ := io.ReadAll(resp.Body) // Ignoring error for example 42 43 wappalyzerClient, err := wappalyzer.New() 44 fingerprints := wappalyzerClient.Fingerprint(resp.Header, data) 45 fmt.Printf("%v\n", fingerprints) 46 47 // Output: map[Acquia Cloud Platform:{} Amazon EC2:{} Apache:{} Cloudflare:{} Drupal:{} PHP:{} Percona:{} React:{} Varnish:{}] 48 } 49 ```