nmap -sCV -A -p $(nmap $1 -p- | grep open | awk -F '/' '{print $1}' | tr '\n' ',' | sed 's/.$//') $1