Created
November 6, 2024 18:14
-
-
Save alonsoir/aa4fd62e4f0a0b28f9ffcffa28c3311a to your computer and use it in GitHub Desktop.
Enumerate Subdomains & Emails Using CRT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Prompt the user for a link | |
echo "Please enter the link to scan:" | |
read link | |
# Output the entered link | |
echo "You entered: $link" | |
curl -s "https://crt.sh/?q=%25.$link&output=json" | jq -r '.[].name_value' | sed 's/\*\.//g' | sort -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment