Documentation ¶
Index ¶
- func IsEmptyFile(file string) (bool, error)
- type Instance
- func (instance *Instance) DumpWildcardsToFile(filename string) error
- func (instance *Instance) LoadWildcardsFromFile(filename string) 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 ¶
func IsEmptyFile ¶ added in v1.1.0
IsEmptyFile checks if the file 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
type Options ¶ added in v1.1.0
type Options struct { // 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 NDJSON bool OnResult func(*retryabledns.DNSData) }
Click to show internal directories.
Click to hide internal directories.