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 New(db *database.Database, cfg *CertScanConfig) (*CertScanner, error)
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 SourceInfo ¶
Click to show internal directories.
Click to hide internal directories.