From 81b69e230180b3dff371cea41e48ec1b0bb55057 Mon Sep 17 00:00:00 2001 From: caffix Date: Wed, 19 Jul 2023 21:03:17 -0400 Subject: [PATCH] added new example configuration files --- examples/config.yaml | 36 ++++++++++++++++++++++++++++++++++++ examples/datasources.yaml | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 examples/config.yaml create mode 100644 examples/datasources.yaml diff --git a/examples/config.yaml b/examples/config.yaml new file mode 100644 index 000000000..ae60a5c5e --- /dev/null +++ b/examples/config.yaml @@ -0,0 +1,36 @@ +scope: + domains: # domain names to be in scope + - example.com + ips: # IP addresses to be in scope, multiple methods of inserting ip addresses can be used + - 192.0.2.1 + - 192.0.2.2 + - 192.168.0.3-8 + - 192.168.0.10-192.168.0.20 + asns: # ASNs that are to be in scope + - 1234 + - 5678 + cidrs: # CIDR ranges that are to be in scope + - 192.0.2.0/24 + - 192.0.2.128/25 + ports: # ports to be used when actively reaching a service + - 80 + - 443 + blacklist: # subdomains to be blacklisted + - example.example1.com +options: + resolvers: + - "../examples/resolvers.txt" # array of 1 path or multiple IPs to use as a resolver + - 76.76.19.19 + datasources: "./datasources.yaml" # the file path that will point to the data source configuration + wordlist: # global wordlist(s) to uses + - "./wordlists/deepmagic.com_top50kprefixes.txt" + - "./wordlists/deepmagic.com_top500prefixes.txt" + database: "postgres://username:password@localhost:5432/database?testing=works" # databases URI to be used when adding entries + bruteforce: # specific option to use when brute forcing is needed + enabled: true + wordlists: # wordlist(s) to use that are specific to brute forcing + - "./wordlists/subdomains-top1mil-5000.txt" + alterations: # specific option to use when brute forcing is needed + enabled: true + wordlists: # wordlist(s) to use that are specific to alterations + - "./wordlists/subdomains-top1mil-110000.txt" diff --git a/examples/datasources.yaml b/examples/datasources.yaml new file mode 100644 index 000000000..b18493ee5 --- /dev/null +++ b/examples/datasources.yaml @@ -0,0 +1,32 @@ +datasources: + - name: MyDataSource1 + ttl: 3600 + creds: + Account1: + username: username1 + password: password1 + apikey: apikey1 + secret: secret1 + Account2: + username: username2 + password: password2 + apikey: apikey2 + secret: secret2 + - name: MyDataSource2 + ttl: 7200 + creds: + Account1: + username: username3 + password: password3 + apikey: apikey3 + secret: secret3 + Account2: + username: username4 + password: password4 + apikey: apikey4 + secret: secret4 + +# this is the global options that will be considered. For example, minimum_ttl would be a global option used to compare +# the minimum_ttl to the other datasources ttl. +global_options: + minimum_ttl: 12345