httprobe

Take a list of domains and probe for working HTTP and HTTPS servers. More information: https://github.com/tomnomnom/httprobe.

cat input_file | httprobe

cat input_file | httprobe --prefer-https

cat input_file | httprobe -p https:2222

httprobe --help