312-50 Exam QuestionsBrowse all questions from this exam

312-50 Exam - Question 103


A hacker is attempting to see which IP addresses are currently active on a network. Which NMAP switch would the hacker use?

Show Answer
Correct Answer: B

The -sP switch in NMAP is used for a ping scan to determine which IP addresses are active on a network. This command sends ICMP echo requests to the specified network and reports which hosts respond back, thus identifying active IP addresses.

Discussion

7 comments
Sign in to comment
strcelrauOption: C
Jul 4, 2019

a hacker would do an -sS

cycoghostOption: B
Apr 25, 2020

SS is used to scan ports in the lower 1000 by default. Not ip addresses

hackmenowOption: B
Oct 3, 2020

sO is IP protocol scan

hackmenowOption: B
Oct 3, 2020

-sP does not show up in NMAP manual

bleble00001
Oct 24, 2020

It does. "In previous releases of Nmap, -sn was known as -sP." https://linux.die.net/man/1/nmap

Lumos98
Jun 3, 2021

This is correct. -sn (No port scan) This option tells Nmap not to do a port scan after host discovery, and only print out the available hosts that responded to the host discovery probes. This is often known as a “ping scan”

Predator2000Option: C
Dec 23, 2023

-sS Stealth scan (a hacker use this)

PragdeashwarOption: B
Apr 16, 2024

-sP ping scan provides status of host

a4687ebOption: B
Jul 18, 2024

-sP ping Question is not about port scanning and port status but about IP adress and alive host. for this reason the best is -sP