scans target for open ports