scan

package
v0.0.0-...-a91c65e Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package scan contains the scanning functionality of servicedef. It uses the an array of host definitions HostDef created from the hosts.json file as input. Currently only scanning via nmap is supported and it is unlikely we will ever support other methods. Servicedef is currently strongly coupled with the nmap scanning mehtods and results. At the moment nmap is utilized via the github.com/Ullaakut/nmap package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScanHosts

func ScanHosts(hosts []HostDef, cfg config.Config) ResultHosts

Scan_hosts evaluates a given list of host definitions The configuration is needed for knowing if scanning progress should be logged

Types

type ScannedCounter

type ScannedCounter struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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