#!/bin/bash
for fn in $@; do
echo "scanning $fn"
nmap -Pn -T5 --script ssl-cert -p 443 $fn | tee -a "index/$fn.txt" &
done