service

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package service implements service fingerprinting functionality for discovering running services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunServiceFingerprint

RunServiceFingerprint fingerprints services using the transport selected in config. New callers should prefer RunTCPServiceFingerprint or RunUDPServiceFingerprint directly.

func RunTCPServiceFingerprint added in v0.12.0

RunTCPServiceFingerprint fingerprints the TCP service at target:port.

  1. If stealth mode is enabled, use targeted fingerprinting for the specified service type.
  2. Otherwise, for TCP (port-priority system): Phase 1: Run custom fingerprinters ONLY if port matches their default ports Phase 2: If nothing found, run the remaining plugins on non-default ports.

func RunUDPServiceFingerprint added in v0.12.0

RunUDPServiceFingerprint scans common UDP ports on one or more target hosts.

Types

type Fingerprinter

type Fingerprinter interface {
	Name() string
	// An empty DefaultPorts list makes the plugin applicable on every TCP port.
	DefaultPorts() []int
	Detect(context.Context, net.IP, int, string, int) (*discover.ServiceDetails, error)
}

Fingerprinter detects one application protocol at an endpoint.

Directories

Path Synopsis
Package plugins provides ARD (Apple Remote Desktop) service fingerprinting
Package plugins provides ARD (Apple Remote Desktop) service fingerprinting

Jump to

Keyboard shortcuts

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