Skip to content

ducksify/wappalyzergo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wappalyzergo

A high performance port of the Wappalyzer Technology Detection Library to Go. Inspired by Webanalyze.

Uses data from

Features

  • Very simple and easy to use, with clean codebase.
  • Normalized regexes + auto-updating database of wappalyzer fingerprints.
  • Optimized for performance: parsing HTML manually for best speed.

Using go install

go install -v github.com/ducksify/wappalyzergo/cmd/update-fingerprints@latest

After this command wappalyzergo library source will be in your current go.mod.

Example

Usage Example:

package main

import (
 "fmt"
 "io"
 "log"
 "net/http"

 wappalyzer "github.com/ducksify/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:{}]
}

About

A high performance go implementation of Wappalyzer Technology Detection Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.4%
  • Shell 1.6%