Skip to content

Commit 81b69e2

Browse files
committed
added new example configuration files
1 parent 658b2ac commit 81b69e2

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-0
lines changed

examples/config.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
scope:
2+
domains: # domain names to be in scope
3+
- example.com
4+
ips: # IP addresses to be in scope, multiple methods of inserting ip addresses can be used
5+
- 192.0.2.1
6+
- 192.0.2.2
7+
- 192.168.0.3-8
8+
- 192.168.0.10-192.168.0.20
9+
asns: # ASNs that are to be in scope
10+
- 1234
11+
- 5678
12+
cidrs: # CIDR ranges that are to be in scope
13+
- 192.0.2.0/24
14+
- 192.0.2.128/25
15+
ports: # ports to be used when actively reaching a service
16+
- 80
17+
- 443
18+
blacklist: # subdomains to be blacklisted
19+
- example.example1.com
20+
options:
21+
resolvers:
22+
- "../examples/resolvers.txt" # array of 1 path or multiple IPs to use as a resolver
23+
- 76.76.19.19
24+
datasources: "./datasources.yaml" # the file path that will point to the data source configuration
25+
wordlist: # global wordlist(s) to uses
26+
- "./wordlists/deepmagic.com_top50kprefixes.txt"
27+
- "./wordlists/deepmagic.com_top500prefixes.txt"
28+
database: "postgres://username:password@localhost:5432/database?testing=works" # databases URI to be used when adding entries
29+
bruteforce: # specific option to use when brute forcing is needed
30+
enabled: true
31+
wordlists: # wordlist(s) to use that are specific to brute forcing
32+
- "./wordlists/subdomains-top1mil-5000.txt"
33+
alterations: # specific option to use when brute forcing is needed
34+
enabled: true
35+
wordlists: # wordlist(s) to use that are specific to alterations
36+
- "./wordlists/subdomains-top1mil-110000.txt"

examples/datasources.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
datasources:
2+
- name: MyDataSource1
3+
ttl: 3600
4+
creds:
5+
Account1:
6+
username: username1
7+
password: password1
8+
apikey: apikey1
9+
secret: secret1
10+
Account2:
11+
username: username2
12+
password: password2
13+
apikey: apikey2
14+
secret: secret2
15+
- name: MyDataSource2
16+
ttl: 7200
17+
creds:
18+
Account1:
19+
username: username3
20+
password: password3
21+
apikey: apikey3
22+
secret: secret3
23+
Account2:
24+
username: username4
25+
password: password4
26+
apikey: apikey4
27+
secret: secret4
28+
29+
# this is the global options that will be considered. For example, minimum_ttl would be a global option used to compare
30+
# the minimum_ttl to the other datasources ttl.
31+
global_options:
32+
minimum_ttl: 12345

0 commit comments

Comments
 (0)