Config passes along Amass configuration settings and options.
| 26 | |
| 27 | // Config passes along Amass configuration settings and options. |
| 28 | type Config struct { |
| 29 | sync.Mutex |
| 30 | |
| 31 | // The graph databases used by the system / enumerations |
| 32 | GraphDBs []*Database |
| 33 | |
| 34 | // The IP addresses specified as in scope |
| 35 | Addresses []string |
| 36 | |
| 37 | // CIDR that is in scope |
| 38 | CIDRs []string |
| 39 | |
| 40 | // ASNs specified as in scope |
| 41 | ASNs []int |
| 42 | |
| 43 | // The ports that will be checked for certificates |
| 44 | Ports []int |
| 45 | |
| 46 | // Will the enumeration including brute forcing techniques |
| 47 | BruteForcing bool |
| 48 | |
| 49 | Bruteforcelist []string |
| 50 | |
| 51 | // Will recursive brute forcing be performed? |
| 52 | Recursive bool |
| 53 | |
| 54 | // Will discovered subdomain name alterations be generated? |
| 55 | Alterations bool |
| 56 | |
| 57 | Alterationslist []string |
| 58 | |
| 59 | // Only access the data sources for names and return results? |
| 60 | Passive bool |
| 61 | |
| 62 | // Determines if zone transfers will be attempted |
| 63 | Active bool |
| 64 | |
| 65 | // A blacklist of subdomain names that will not be investigated |
| 66 | Blacklist []string |
| 67 | |
| 68 | // The minimum number of minutes that data source responses will be reused |
| 69 | MinimumTTL int |
| 70 | |
| 71 | // Resolver settings |
| 72 | Resolvers []string |
| 73 | |
| 74 | // The root domain names that the enumeration will target |
| 75 | domains []string |
| 76 | |
| 77 | // The regular expressions for the root domains added to the enumeration |
| 78 | regexps map[string]*regexp.Regexp |
| 79 | |
| 80 | // The data source configurations |
| 81 | datasrcConfigs map[string]*DataSourceConfig |
| 82 | } |
| 83 | |
| 84 | // DataSourceConfig contains the configurations specific to a data source. |
| 85 | type DataSourceConfig struct { |
nothing calls this directly
no outgoing calls
no test coverage detected