bannerid

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: MIT Imports: 2 Imported by: 1

README

BannerId library

This library contains various helpers to identify a software from it's TCP/HTTP banner.

See the example directory.

$ go run ./example/main.go
{
 "name": "Apache",
 "version": "2.4.18",
 "modules": null,
 "os": "Ubuntu"
}
{
 "name": "Apache",
 "version": "2.4.41",
 "modules": [
  {
   "name": "OpenSSL",
   "version": "1.0.2k-fips"
  },
  {
   "name": "PHP",
   "version": "5.6.40"
  },
  {
   "name": "mod_perl",
   "version": "2.0.7"
  },
  {
   "name": "Perl",
   "version": "v5.16.3"
  }
 ],
 "os": "Amazon"
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Software

type Software struct {
	Name    string           `json:"name"`
	Version string           `json:"version"`
	Modules []SoftwareModule `json:"modules"`
	OS      string           `json:"os"`
}

func ParseWebServerBanner

func ParseWebServerBanner(banner string) (Software, error)

type SoftwareModule

type SoftwareModule struct {
	Name    string `json:"name"`
	Version string `json:"version"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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