discover

package
v0.0.98 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package discover implements network discovery functionality for finding live hosts and services.

Package discover implements network discovery functionality for finding live hosts and services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTLSInfo

GetTLSInfo retrieves TLS configuration and certificate details for a list of target addresses. It establishes TLS connections to each target and extracts information about the TLS version, cipher suite, and certificates. Returns a report containing the TLS details and any errors encountered.

func RunDomainDiscovery added in v0.0.54

RunDomainDiscovery performs SMB-based domain discovery: 1. Use SMB challenge-only to get domain name (no authentication) 2. DNS lookup to find all domain controllers 3. Return domain details with all DCs (using cache to avoid duplicate scans)

Types

type Report

type Report struct {
	Run    nmap.Run `json:"run" yaml:"run"`
	Errors []string `json:"errors" yaml:"errors"`
}

Report contains the results of an OS fingerprinting scan, including the nmap run results and any errors encountered during the process.

func RunOsFingerprint

func RunOsFingerprint(ctx context.Context, target string) (Report, error)

RunOsFingerprint performs OS fingerprinting on the specified target using nmap. It returns a report containing the detected operating system information and any errors encountered.

Directories

Path Synopsis
Package discover implements network discovery functionality for finding live hosts and services.
Package discover implements network discovery functionality for finding live hosts and services.
Package service implements service fingerprinting functionality for discovering running services.
Package service implements service fingerprinting functionality for discovering running services.
plugins
Package plugins provides DHCP service fingerprinting
Package plugins provides DHCP service fingerprinting
plugins/fingerprintx
Package fingerprintx provides BGP service fingerprinting for fingerprintx
Package fingerprintx provides BGP service fingerprinting for fingerprintx

Jump to

Keyboard shortcuts

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