scanurl

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package scanurl performs a real TLS handshake against a host and reports quantum-vulnerable cipher suites, key exchange algorithms, and certificate signature algorithms.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Timeout            time.Duration
	InsecureSkipVerify bool
}

Options tweaks scan behaviour.

type Result

type Result struct {
	Host        string
	Port        string
	Findings    []report.Finding
	Metadata    map[string]string
	RiskScore   int
	RiskLevel   report.RiskLevel
	DurationMS  int64
	HandshakeOK bool
}

Result is the aggregated TLS scan output.

func Scan

func Scan(target string, opts Options) (*Result, error)

Scan opens a TLS connection to target (host[:port], with or without scheme), inspects the negotiated parameters and the certificate chain, and returns a report.

Jump to

Keyboard shortcuts

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