cyber-security-resources/programming_and_scripting_for_cybersecurity/recon_scripts/dns_recon/dns-recon2.sh
2023-05-02 23:30:54 -04:00

6 lines
247 B
Bash

#!/bin/bash
# bruteforce subdomains
# Use a wordlist of your choice. I am using dnscan's wordlist in this example
for domain in $(cat /usr/share/wordlists/amass/fierce_hostlist.txt); do host $domain.h4cker.org; done | grep -v NXDOMAIN | sort -u