bin

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2019 License: Apache-2.0, ISC Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ZGrab2Main

func ZGrab2Main()

ZGrab2Main should be called by func main() in a binary. The caller is responsible for importing any modules in use. This allows clients to easily include custom sets of scan modules by creating new main packages with custom sets of ZGrab modules imported with side-effects.

Types

type Summary

type Summary struct {
	StatusesPerModule map[string]*zgrab2.State `json:"statuses"`
	StartTime         string                   `json:"start"`
	EndTime           string                   `json:"end"`
	Duration          string                   `json:"duration"`
}

Summary holds the results of a run of a ZGrab2 binary.

Jump to

Keyboard shortcuts

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