Bash scan for hosts and ports