wapgolyzer

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DIR = ".config/wapgolyzer"
)

Variables

This section is empty.

Functions

func Run

func Run(url string, fgpFile string) ([]byte, error)

func SetupFingerprintsFile

func SetupFingerprintsFile() string

func UpdateFingerprintsFile

func UpdateFingerprintsFile(fgpFile string)

Types

type Categories

type Categories struct {
	Name     string `json:"name"`
	Priority int    `json:"priority"`
}

type Fingerprints

type Fingerprints struct {
	// Apps is organized as <name, fingerprint>
	Apps map[string]Signature  `json:"technologies"`
	Cats map[string]Categories `json:"categories"`
}

type Result

type Result struct {
	URL          string `json:"url"`
	Technologies []Tech `json:"technologies"`
}

type Signature

type Signature struct {
	Cats    []int                  `json:"cats"`
	HTML    interface{}            `json:"html"`
	CSS     interface{}            `json:"css"`
	Script  interface{}            `json:"scriptSrc"`
	Implies interface{}            `json:"implies"`
	Headers map[string]string      `json:"headers"`
	Cookies map[string]string      `json:"cookies"`
	JS      map[string]string      `json:"js"`
	Meta    map[string]interface{} `json:"meta"`
}

Fingerprint is a single piece of information about a tech

type Tech

type Tech struct {
	Name    string   `json:"name"`
	Version string   `json:"version"`
	Type    []string `json:"type"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL