Categorygithub.com/projectdiscovery/wappalyzergo
modulepackage
0.1.14
Repository: https://github.com/projectdiscovery/wappalyzergo.git
Documentation: pkg.go.dev

# README

Wappalyzergo

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

Uses data from https://github.com/AliasIO/wappalyzer

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/projectdiscovery/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/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:{}]
}

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
GetFingerprints returns the fingerprint string from wappalyzer.
No description provided by the author
New creates a new tech detection instance.
No description provided by the author
ParsePattern extracts information from a pattern, supporting both regex and simple patterns.

# Structs

AppInfo contains basic information about an App.
CatsInfo contains basic information about an App.
CompiledFingerprint contains the compiled fingerprints from the tech json.
CompiledFingerprints contains a map of fingerprints for tech detection.
Fingerprint is a single piece of information about a tech validated and normalized.
Fingerprints contains a map of fingerprints for tech detection.
ParsedPattern encapsulates a regular expression with additional metadata for confidence and version extraction.
No description provided by the author
Wappalyze is a client for working with tech detection.