service

package
v0.0.80 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2025 License: Apache-2.0 Imports: 13 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 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 the service at target:port.

  1. If stealth mode is enabled, use targeted fingerprinting for the specified service type.
  2. Otherwise, let fingerprintx try first.
  3. If fingerprintx fails, run the custom modules in order until one hits.

func RunStealthServiceFingerprint

func RunStealthServiceFingerprint(ctx context.Context, config discoverfern.DiscoverServiceConfig, ips []net.IP) (*discoverfern.DiscoverServiceReport, error)

RunStealthServiceFingerprint performs targeted service fingerprinting for a specific service type

Types

type Fingerprinter

type Fingerprinter interface {
	Name() string
	Detect(ctx context.Context, ip net.IP, port int, host string, timeout int) (*discoverfern.ServiceDetails, error)
}

Fingerprinter detects **one** specific application protocol (gRPC, MQTT, …). On match: (*ServiceDetails, nil) On "not mine": (nil, nil) On fatal error: (nil, err)

Directories

Path Synopsis
Package plugins provides gRPC service fingerprinting by issuing a Server-Reflection ListServices request.
Package plugins provides gRPC service fingerprinting by issuing a Server-Reflection ListServices request.
fingerprintx
Package fingerprintx provides Kerberos service fingerprinting for fingerprintx
Package fingerprintx provides Kerberos service fingerprinting for fingerprintx

Jump to

Keyboard shortcuts

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