Home » CompTIA » PT0-001 » Which of the following are needed to conduct this scan?
A penetration tester has been asked to conduct OS fingering with Nmap using a company-provided text file that contains a list of IP addresses. Which of the following are needed to conduct this scan? (Choose two.).
A. -O
B. -iL
C. -V
D. -sS
E. oN
F. -oX
Correct Answer: BE
Explanation/Reference:
Reference https://securitytrails.com/blog/top-15-nmap-commands-to-scan-remote-hosts#six-scan-hosts-and-ip-addresses-reading-from-a-text-file
Should be AB
-O Enables OS detection by using fingerprinting of the TCP/UDP packet
received
-iL Scans targets from a text file
answer should be -O and -iL
AB
Scan a list of targets
If you have a large number of systems to scan, you can enter the IP address (or host names) in a text file and use that file as input for Nmap on the command line.
syntax: nmap -iL [list.txt]
OUTPUT:
-oN/-oX/-oS/-oG : Output scan in normal, XML, s|<rIpt kIddi3,
and Grepable format, respectively, to the given filename.