Complete the code to identify the first step in reconnaissance.
The initial phase of reconnaissance is called [1].Footprinting is the first step in reconnaissance where information about the target is collected.
Complete the code to specify a common tool used for scanning during reconnaissance.
A popular tool for network scanning is [1].
Nmap is widely used for network scanning to discover hosts and services.
Fix the error in the statement about passive reconnaissance.
Passive reconnaissance involves [1] direct interaction with the target system.
Passive reconnaissance means gathering information without directly interacting with the target to avoid detection.
Fill both blanks to describe a technique used in reconnaissance.
During reconnaissance, [1] is used to gather information by querying [2] servers.
DNS enumeration is a technique that queries DNS servers to collect information about domain names and IP addresses.
Fill both blanks to complete the dictionary comprehension that filters hosts with open ports.
open_ports = {host:port for host, port in scan_results.items() if port [1] 0 and host.startswith([2])}This comprehension creates a dictionary of hosts and their open ports where the port number is greater than zero and the host IP starts with '192.'.