Documentation
¶
Index ¶
- type Instance
- func (instance *Instance) DumpWildcardsToFile(filename string) error
- func (instance *Instance) LoadWildcardsFromFile(filename string) error
- func (instance *Instance) ProcessDomainStreaming(ctx context.Context, wordlistFile *os.File) error
- func (instance *Instance) ProcessSubdomainsStreaming(ctx context.Context, subdomainReader io.Reader) error
- func (instance *Instance) Run(ctx context.Context) error
- func (instance *Instance) RunWithContext(ctx context.Context) (stdout, stderr string, took time.Duration, err error)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶ added in v1.1.0
type Instance struct {
// contains filtered or unexported fields
}
func (*Instance) DumpWildcardsToFile ¶ added in v1.1.0
DumpWildcardsToFile dumps the wildcard IPs list to a file.
func (*Instance) LoadWildcardsFromFile ¶ added in v1.1.0
func (*Instance) ProcessDomainStreaming ¶ added in v1.2.0
ProcessDomainStreaming processes domain bruteforce using streaming with batcher
type Options ¶ added in v1.1.0
type Options struct {
// AutoExtractRootDomains is used to extract root domains from the input list of subdomains
AutoExtractRootDomains bool
// Domain is the domain specified for enumeration
Domains []string
// Retries is the number of retries for dns
Retries int
// MassdnsPath is the path to the binary
MassdnsPath string
// Threads is the hashmap size for massdns
Threads int
// InputFile is the file to use for massdns input
InputFile string
// ResolversFile is the file with the resolvers
ResolversFile string
// TrustedResolvers is the file with the trusted resolvers
TrustedResolvers string
// TempDir is a temporary directory for storing massdns misc files
TempDir string
// OutputFile is the file to use for massdns output
OutputFile string
// Json is format ouput to ndjson format
Json bool
// WildcardsThreads is the number of wildcards concurrent threads
WildcardsThreads int
// MassdnsRaw perform wildcards filtering from an existing massdns output file
MassdnsRaw string
// StrictWildcard controls whether the wildcard check should be performed on each result
StrictWildcard bool
// WildcardOutputFile is the file where the list of wildcards is dumped
WildcardOutputFile string
// MassDnsCmd supports massdns flags
MassDnsCmd string
// KeepStderr controls whether to capture and store massdns stderr output
KeepStderr bool
// BatchSize controls the number of lines per chunk for incremental processing
BatchSize int
OnResult func(*retryabledns.DNSData)
}
Click to show internal directories.
Click to hide internal directories.