### Install Required Python Packages (Bash) Source: https://github.com/mazixs/subdomain-discovery-script/blob/main/README.md Installs all necessary Python libraries listed in the requirements.txt file using the pip package manager. This includes dnspython, aiohttp, and aiodns. ```Bash pip install -r requirements.txt ``` -------------------------------- ### View Command Line Options (Shell) Source: https://github.com/mazixs/subdomain-discovery-script/blob/main/README.md Displays the full list of available command-line arguments, options, and their descriptions for the subdomain_discovery.py script. ```Shell usage: subdomain_discovery.py [-h] [-o OUTPUT] [-r RESOLVERS] [-t TIMEOUT] [--http-timeout HTTP_TIMEOUT] [--retries RETRIES] [--user-agent USER_AGENT] [--concurrency CONCURRENCY] domain Discover subdomains using DNS and crt.sh (async version). positional arguments: domain The domain to scan. options: -h, --help show this help message and exit -o OUTPUT, --output OUTPUT Output file path (default: .txt). -r RESOLVERS, --resolvers RESOLVERS Comma-separated list of DNS resolvers (default: 8.8.8.8). -t TIMEOUT, --timeout TIMEOUT Timeout in seconds for DNS queries (default: 5.0). --http-timeout HTTP_TIMEOUT Timeout in seconds for HTTP requests (crt.sh) (default: 10.0). --retries RETRIES Number of retries for HTTP requests (crt.sh) (default: 3). --user-agent USER_AGENT User-Agent for HTTP requests. (default: AsyncSubdomainDiscovery/1.0) --concurrency CONCURRENCY Max concurrent DNS/HTTP tasks (default: 100). ``` -------------------------------- ### Run Script with Default Settings (Bash) Source: https://github.com/mazixs/subdomain-discovery-script/blob/main/README.md Executes the subdomain discovery script for a specified target domain using default settings. Results are automatically saved to a text file named after the domain (e.g., example.com.txt). ```Bash python subdomain_discovery.py example.com ``` -------------------------------- ### Clone Script Repository (Bash) Source: https://github.com/mazixs/subdomain-discovery-script/blob/main/README.md Clones the Subdomain Discovery Script repository from GitHub to your local machine. ```Bash git clone https://github.com/mazixs/Subdomain-Discovery-Script.git ``` -------------------------------- ### Run Script and Save to Custom File (Bash) Source: https://github.com/mazixs/subdomain-discovery-script/blob/main/README.md Runs the script for a domain and directs the output to a user-defined file path instead of the default domain-named file. Use the -o or --output option followed by the desired file name. ```Bash python subdomain_discovery.py example.com -o my_results.txt ``` -------------------------------- ### Run Script with Specific DNS Resolvers (Bash) Source: https://github.com/mazixs/subdomain-discovery-script/blob/main/README.md Executes the script using a custom list of DNS server IP addresses for queries. Provide a comma-separated list of IPs after the -r or --resolvers option. ```Bash python subdomain_discovery.py example.com -r 8.8.8.8,1.1.1.1 ``` -------------------------------- ### Navigate to Script Directory (Bash) Source: https://github.com/mazixs/subdomain-discovery-script/blob/main/README.md Changes the current directory in your terminal to the newly cloned repository folder. ```Bash cd Subdomain-Discovery-Script ``` -------------------------------- ### Run Script with Higher Concurrency (Bash) Source: https://github.com/mazixs/subdomain-discovery-script/blob/main/README.md Increases the maximum number of simultaneous DNS and HTTP tasks the script will run. This can speed up scanning but may consume more resources. Use the --concurrency option. ```Bash python subdomain_discovery.py example.com --concurrency 200 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.