Skip to content

Instantly share code, notes, and snippets.

@alonsoir
Created November 6, 2024 18:14
Show Gist options
  • Save alonsoir/aa4fd62e4f0a0b28f9ffcffa28c3311a to your computer and use it in GitHub Desktop.
Save alonsoir/aa4fd62e4f0a0b28f9ffcffa28c3311a to your computer and use it in GitHub Desktop.
Enumerate Subdomains & Emails Using CRT
#!/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