crt.sh
is a simple Bash script that fetches and filters subdomains from the https://crt.sh website. This script allows you to easily retrieve registered subdomains for a given target domain.
- Fetches subdomains from crt.sh
- Filters and sorts results for clarity
- Outputs results to a specified text file
curl
: To fetch the data from crt.shgrep
: For filtering and searching through the datasort
: To sort the list of subdomainsuniq
: To remove duplicate entries- A Bash shell environment
-
Clone the repository:
git clone https://github.com/xonoxitron/crt.sh.git cd crt.sh
-
Make the script executable:
chmod +x crt.sh
-
Run the script:
./crt.sh <target_domain> <output_filename>
-
Check results (example below).
This project is licensed under the MIT License - see the LICENSE file for details.