Skip to content

SubForce is a Python-based tool for performing subdomain bruteforce.

Notifications You must be signed in to change notification settings

th3gokul/SubForce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SubForce

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.

Features

  • 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

Installation

  1. Clone the repository
git clone https://github.com/th3gokul/SubForce.git
  1. Navigate to the SubForce directory
cd SubForce
  1. Install the required dependencies by running the following command:
pip install -r requirements.txt

Usage

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>]
  1. Perform subdomain brute-forcing for a single domain:
python SubForce.py  -d example.com -w wordlists/subdomains.txt -o output.txt
  1. Perform subdomain brute-forcing using a domains list file:
python SubForce.py  -l domains.txt -w wordlists/subdomains.txt -o output.txt
  1. 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.
  1. View the results in the console and the saved valid domains in the specified output file.

Author

  • Name: Gokul
  • GitHub: Th3Gokul

Contributing

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.

About

SubForce is a Python-based tool for performing subdomain bruteforce.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages