312-50V12 · Question #66
Techno Security Inc. recently hired John as a penetration tester. He was tasked with identifying open ports in the target network and determining whether the ports are online and any firewall rule…
The correct answer is B. nmap -sn -PS < target IP address >. In a TCP SYN ping scan, Nmap sends a TCP SYN packet to the target port, expecting a SYN- ACK or RST response from an open port. If the response is RST, it means the port is closed. If there is no response, the port may be either open or filtered. This method is used to detect…
Question
Options
- Anmap -sn -PO < target IP address >
- Bnmap -sn -PS < target IP address >
- Cnmap -sn -PA < target IP address >
- Dnmap -sn -PP < target IP address >
How the community answered
(31 responses)- A6% (2)
- B87% (27)
- C3% (1)
- D3% (1)
Explanation
In a TCP SYN ping scan, Nmap sends a TCP SYN packet to the target port, expecting a SYN- ACK or RST response from an open port. If the response is RST, it means the port is closed. If there is no response, the port may be either open or filtered. This method is used to detect whether a port is open or closed. The -sn option in Nmap is used for host discovery, and it disables port scanning. The -PS option is used to specify a TCP SYN ping scan, while the -PA and -PP options are used for TCP ACK and ICMP ping scans, respectively. Therefore, the correct command for a TCP SYN ping scan in Nmap is: nmap -sn -PS < target IP address >
Topics
Community Discussion
No community discussion yet for this question.