ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 139 - PT0-002 discussion

Report
Export

The attacking machine is on the same LAN segment as the target host during an internal penetration test. Which of the following commands will BEST enable the attacker to conduct host delivery and write the discovery to files without returning results of the attack machine?

A.
nmap snn exclude 10.1.1.15 10.1.1.0/24 oA target_txt
Answers
A.
nmap snn exclude 10.1.1.15 10.1.1.0/24 oA target_txt
B.
nmap ?iR10oX out.xml | grep ?Nmap ? | cut d ?"f5 > live-hosts.txt
Answers
B.
nmap ?iR10oX out.xml | grep ?Nmap ? | cut d ?"f5 > live-hosts.txt
C.
nmap ?PnsV OiL target.txt ?A target_text_Service
Answers
C.
nmap ?PnsV OiL target.txt ?A target_text_Service
D.
nmap ?sSPn n iL target.txt ?A target_txtl
Answers
D.
nmap ?sSPn n iL target.txt ?A target_txtl
Suggested answer: A

Explanation:

According to the Official CompTIA PenTest+ Self-Paced Study Guide1, the correct answer is A. nmap -sn -n -exclude 10.1.1.15 10.1.1.0/24 -oA target_txt.

This command will perform a ping scan (-sn) without reverse DNS resolution (-n) on the IP range 10.1.1.0/24, excluding the attack machine's IP address (10.1.1.15) from the scan (-exclude). It will also output the results in three formats (normal, grepable and XML) with a base name of target_txt (-oA).

asked 02/10/2024
Mohamed Nacer Ferhi
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first