Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

question 7 what is the purpose of using the -sv or -a switch with nmap?…

Question

question 7

what is the purpose of using the -sv or -a switch with nmap?

a to limit the scan to the local network only
b to increase the speed of the scan
c to probe for software versions on each port
d to disable logging of the scan results

Explanation:

Analyze the Nmap switches

The question asks for the purpose of using the -sV or -A switch with Nmap.

  • The -sV switch is specifically used for service version detection. It probes open ports to determine service and version information.
  • The -A switch enables "aggressive" scan options, which includes service version detection (-sV), OS detection (-O), script scanning (-sC), and traceroute.
  • Therefore, both switches share the capability of probing for software versions running on open ports.

Evaluate the given options

  • Option A suggests limiting the scan to the local network, which is incorrect (Nmap scans targets based on IP/subnet inputs, not these switches).
  • Option B suggests increasing the speed of the scan, which is incorrect (timing templates like -T4 or -T5 are used for speed).
  • Option C states "To probe for software versions on each port", which directly matches the primary function of -sV and a core component of -A.
  • Option D suggests disabling logging, which is incorrect (logging is configured via -oN, -oX, etc., or suppressed via standard output redirection).

Answer:

  • (A) To limit the scan to the local network only
  • (B) To increase the speed of the scan
  • (C) To probe for software versions on each port (Correct answer)
  • (D) To disable logging of the scan results