tech

package
v0.28.4 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2025 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package tech is responsible for performing a technology discovery via wappalyzergo

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintAppInfoTable

func PrintAppInfoTable(appInfo map[string]AppInfo)

PrintAppInfoTable prints the AppInfo in a table format with colorized output and fixed-width columns this is a helper function for getting tidy results into the console, but the actual output we'd have in production would be json

Types

type AppInfo

type AppInfo struct {
	Description string   `json:"description"`
	Website     string   `json:"website"`
	CPE         string   `json:"cpe"`
	Icon        string   `json:"icon"`
	Categories  []string `json:"categories"`
}

AppInfo is a struct that holds information about an application

type Tech

type Tech struct {
	TechClient *wappalyzer.Wappalyze
	HTTPClient *httpsling.Requester
	AppInfo    map[string]AppInfo
}

Tech is a struct that holds the Wappalyzer client and HTTP client

func NewTech

func NewTech(target string) (*Tech, error)

NewTech creates a new tech and http client

func (*Tech) GetTech

func (t *Tech) GetTech() (map[string]AppInfo, error)

GetTech fetches the technology information from the target URL

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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