Which NMAP switch would the hacker use?

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

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

A.
-sO

B.
-sP

C.
-sS

D.
-sU



Leave a Reply 4

Your email address will not be published. Required fields are marked *


sergio

sergio

-sP is the correct answer to see Wich IP is up

Q 

Q 

-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 scan. This is often known as a 「ping scan」, but you can also request that traceroute and NSE host scripts be run. This is by default one step more intrusive than the list scan, and can often be used for the same purposes. It allows light reconnaissance of a target network without attracting much attention. Knowing how many hosts are up is more valuable to attackers than the list provided by list scan of every single IP and host name.

Systems administrators often find this option valuable as well. It can easily be used to count available machines on a network or monitor server availability. This is often called a ping sweep, and is more reliable than pinging the broadcast address because many hosts do not reply to broadcast queries.

The default host discovery done with -sn consists of an ICMP echo request, TCP SYN to port 443, TCP ACK to port 80, and an ICMP timestamp request by default. When executed by an unprivileged user, only SYN packets are sent (using a connect call) to ports 80 and 443 on the target. When a privileged user tries to scan targets on a local ethernet network, ARP requests are used unless –send-ip was specified. The -sn option can be combined with any of the discovery probe types (the -P* options, excluding -Pn) for greater flexibility. If any of those probe type and port number options are used, the default probes are overridden. When strict firewalls are in place between the source host running Nmap and the target network, using those advanced techniques is recommended. Otherwise hosts could be missed when the firewall drops probes or their responses.

In previous releases of Nmap, -sn was known as -sP.

Devang shah

Devang shah

devanh jhkf kjfvn

claudio

claudio

after reviewing all the questions and comments of those who contributed in the comments (discarding Miguel’s answers), I can comment that:

for those who want to take the CEH v9 exam, this set of questions is not a valid reference. only a few questions appeared to me on the exam.