scanner

package
v0.0.0-...-9090e5b Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertScanConfig

type CertScanConfig struct {
	Sources []dataset.DataSource
	Timeout string
}

type CertScanStats

type CertScanStats struct {
	Done        int64
	ZgrabLog    *os.File
	Log         *io.PipeReader
	SourceStats []SourceInfo
	Successes   uint64
	Errors      uint64
}

type CertScanner

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

func New

func (*CertScanner) Close

func (scanner *CertScanner) Close() error

func (*CertScanner) ScanCopy

func (scanner *CertScanner) ScanCopy(domains io.Reader) error

Contents must be lines of valid domains or IPs

func (*CertScanner) ScanDomain

func (scanner *CertScanner) ScanDomain(domain string) error

func (*CertScanner) Start

func (scanner *CertScanner) Start() (*CertScanStats, error)

type FileInfo

type FileInfo struct {
	Name     string
	Progress int64
	Total    int64
}

type SourceInfo

type SourceInfo struct {
	Name  string
	Files []FileInfo
}

Jump to

Keyboard shortcuts

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