Subdomains
export TARGET="facebook.com"curl -s "https://crt.sh/?q=${TARGET}&output=json" | jq -r '.[] | "\(.name_value)\n\(.common_name)"' | sort -u > "${TARGET}_crt.sh.txt"head -n20 facebook.com_crt.sh.txt
OR
export TARGET="facebook.com"
export PORT="443"
| |

Using Harvester
vim sources.txt
baidu bufferoverun crtsh hackertarget otx projectdiscovery rapiddns sublist3r threatcrowd trello urlscan vhost virustotal zoomeye

export TARGET="facebook.com"
| |
once finished making
| |
cat facebook.com_*.txt | sort -u > facebook.com_subdomains_passive.txt
cat facebook.com_subdomains_passive.txt | wc -l