Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

which feature allows nmap to work out hop counts? a -sn switch b --scri…

Question

which feature allows nmap to work out hop counts?

a -sn switch

b --script switch

c --traceroute switch

d -p switch

Explanation:

Analyze the question prompt

The question asks which Nmap feature or switch allows it to work out hop counts to a target host.

Evaluate the options

Using the Nmap Host Discovery knowledge point

  • Option A: -sn is used for host discovery (ping scan) without port scanning.
  • Option B: --script is used to run Nmap Scripting Engine (NSE) scripts.
  • Option C: --traceroute is the explicit switch that enables Nmap's traceroute feature to determine the network path and hop counts to the target.
  • Option D: -p is used to specify target ports for scanning.

Select the correct option

Option C is the correct switch for determining hop counts.

Answer:

  • (A) -sn switch
  • (B) --script switch
  • (C) --traceroute switch (Correct answer)
  • (D) -p switch