5849898283
Unit tests functional and coverage back to 100% Add more routes to dictionary, add more credentials, add default port 5554, rename cameradar logs ENV variable, improve unit test readability, remove tmp file
19 lines
625 B
Go
19 lines
625 B
Go
package nmap
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
var (
|
|
// ErrNmapNotInstalled means that upon trying to manually locate nmap in the user's path,
|
|
// it was not found. Either use the WithBinaryPath method to set it manually, or make sure that
|
|
// the nmap binary is present in the user's $PATH.
|
|
ErrNmapNotInstalled = errors.New("'nmap' binary was not found")
|
|
|
|
// ErrScanTimeout means that the provided context was done before the scanner finished its scan.
|
|
ErrScanTimeout = errors.New("nmap scan timed out")
|
|
|
|
// ErrNoTargetsSpecified means that no targets were specified.
|
|
ErrNoTargetsSpecified = errors.New("no targets specified")
|
|
)
|