Subforce is a subdomain bruteforcing tool written in Python. It helps you discover valid subdomains for a given domain by leveraging a wordlist-based approach and DNS queries.
- Perform DNS checks on subdomains for specified domains
- Supports single domain or multiple domains from a file
- Uses a wordlist file to generate subdomains for brute-forcing
- Displays the valid subdomains found during the scan.
- Provides an option to show invalid subdomains.
- Saves valid domains to an output file
- Clone the repository
git clone https://github.com/th3gokul/SubForce.git
- Navigate to the SubForce directory
cd SubForce
- Install the required dependencies by running the following command:
pip install -r requirements.txt
python SubForce.py -l <domains_list_file> -w <wordlist_file> [-o <output_file>] [-i]
python SubForce.py -d <example.com> -w <wordlist_file> [-o <output_file>]
- Perform subdomain brute-forcing for a single domain:
python SubForce.py -d example.com -w wordlists/subdomains.txt -o output.txt
- Perform subdomain brute-forcing using a domains list file:
python SubForce.py -l domains.txt -w wordlists/subdomains.txt -o output.txt
- To perform subdomain brute-forcing using a domains list file/Single Domain, specify a wordlist, save the results to a file, and display invalid domains while running, you can use the following command:
python SubForce.py -l domains.txt -w wordlist.txt -o results.txt -i
Available options:
-l, --domains_list
: Specify the file containing multiple domain inputs.-d, --domain
: Specify the single domain to check subdomains for.-w, --wordlist
: Specify the path to the subdomains wordlist file.-o, --output_file
: Specify the output file to save valid domains (default: subforce_results.txt).-i, --show_invalid
: Show invalid domains while running.
- View the results in the console and the saved valid domains in the specified output file.
- Name: Gokul
- GitHub: Th3Gokul
Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.