Dome is a fast and reliable python script that makes active and/or passive scan to obtain subdomains and search for open ports. This tool is recommended for bug bounty hunters and pentester in their reconnaissance phase.
the more surface area exposed the faster a rock with break down
If you want to use more OSINT engines, fill the config.api file with the needed API tokens
Use OSINT techniques to obtain subdomains from the target. This mode will not make any connection to the target so it is undetectable. The basic use of this mode is:
python dome.py -m passive -d domain
Perform bruteforce attacks to obtain alive subdomains. There are 2 types of bruteforce:
-nb, --no-bruteforce
-w, --wordlist
. If no wordlists is specified, this mode won’t be executedThis mode will also make passive mode attack but in this case, the connection is tested to ensure the subdomain is still alive. To disable passive scan in active scan mode, use --no-passive
flag
The basic use of this mode is:
python dome.py -m active -d domain -w wordlist.txt
Add -p
option or a built-it port option (see usage menu) to perform port scanning
python dome.py -m active -d domain -w wordlist.txt -p 80,443,8080
You can run Dome with Python 2 or 3. Python3 is recommended
Install the dependencies and run the program
git clone https://github.com/v4d1/Dome.git
cd Dome
pip install -r requirements.txt
python dome.py –help
Dome uses these web pages to obtain subdomains
Without API:
With API:
Arguments | Description | Arg example |
---|---|---|
-m, –mode | Scan mode. Valid options: active or passive | active |
-d, –domain | Domains name to enumerate subdomains (Separated by commas) | hackerone.com,facebook.com |
-w, –wordlist | Wordlist containing subdomain prefix to bruteforce | subdomains-5000.txt |
-i, –ip | When a subdomain is found, show its ip | |
–no-passive | Do not use OSINT techniques to obtain valid subdomains | |
-nb, –no-bruteforce | Dont make pure bruteforce up to 3 letters | |
-p, –ports | Scan the subdomains found against specific tcp ports | 80,443,8080 |
–top-100-ports | Scan the top 100 ports of the subdomain (Not compatible with -p option) | |
–top-1000-ports | Scan the top 1000 ports of the subdomain (Not compatible with -p option) | |
–top-web-ports | Scan the top web ports of the subdomain (Not compatible with -p option) | |
-s, –silent | Silent mode. No output in terminal | |
–no-color | Dont print colored output | |
-t, –threads | Number of threads to use (Default: 25) | 20 |
-o, –output | Save the results to txt, json and html files | |
–max-response-size | Maximun length for HTTP response (Default:5000000 (5MB)) | 1000000 |
–r, –resolvers | Textfile with DNS resolvers to use. One per line | resolvers.txt |
-h, –help | Help command | |
–version | Show dome version and exit | |
-v, –verbose | Show more information during execution |
Perform active and passive scan, show the ip adress of each subdomain and make a port scan using top-web-ports. Data will also be written in /results folder:
python dome.py -m active -d domain -w wordlist.txt -i –top-web-ports -o
Perform passive scan in silent mode and write output to files.
python dome.py -m passive -d domain –silent –output
Perform active scan without passive and port scan
python dome.py -m active -d domain -w wordlist.txt –no-passive
Only bruteforce with wordlist
python dome.py -m active -d domain -w wordlist.txt –no-bruteforce
Scan active and passive and perform port scan ONLY in ports 22,80,3306
python dome.py -m active -d domain -w wordlist.txt -p 22,80,3306
Kali Linux 2024.4, the final release of 2024, brings a wide range of updates and…
This Go program applies a lifetime patch to PowerShell to disable ETW (Event Tracing for…
GPOHunter is a comprehensive tool designed to analyze and identify security misconfigurations in Active Directory…
Across small-to-medium enterprises (SMEs) and managed service providers (MSPs), the top priority for cybersecurity leaders…
The free and open-source security platform SecHub, provides a central API to test software with…
Don't worry if there are any bugs in the tool, we will try to fix…