Documentation
¶
Overview ¶
Package scanmalware is a port of the subfinder source added in v2.16.0. ScanMalware is a free sandboxed URL scanner with a public archive. No API key is required.
Three independent endpoints are queried and merged:
- /api/v1/ct/dns/{domain} — hosts observed in Certificate Transparency DNS
- /api/v1/search/smql — hosts present in the public scan archive
- /api/v1/hosts/{domain} — hosts a browser resolved while rendering pages
A failure in one query does not skip the others. The API caps some lists and reports truncation; that is surfaced as an error result rather than silently returning a partial list as if it were complete.
Index ¶
- type Source
- func (s *Source) AddApiKeys(_ []string)
- func (s *Source) HasRecursiveSupport() bool
- func (s *Source) IsDefault() bool
- func (s *Source) KeyRequirement() subscraping.KeyRequirement
- func (s *Source) Name() string
- func (s *Source) Run(ctx context.Context, domain string, session *subscraping.Session) <-chan subscraping.Result
- func (s *Source) Statistics() subscraping.Statistics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
Source is the passive scraping agent
func (*Source) AddApiKeys ¶
func (*Source) HasRecursiveSupport ¶
func (*Source) KeyRequirement ¶
func (s *Source) KeyRequirement() subscraping.KeyRequirement
func (*Source) Run ¶
func (s *Source) Run(ctx context.Context, domain string, session *subscraping.Session) <-chan subscraping.Result
Run function returns all subdomains found with the service
func (*Source) Statistics ¶
func (s *Source) Statistics() subscraping.Statistics
Click to show internal directories.
Click to hide internal directories.