Before launching an attack, an adversary performs ___ by actively probing a target to list valid hosts, open ports, use…