What does the CoX flag do in an Nmap scan?

What does the CoX flag do in an Nmap scan?
A . Perform an eXpress scan
B . Output the results in truncated format to the screen
C . Output the results in XML format to a file
D . Perform an Xmas scan

Answer: C

Explanation:

https://nmap.org/book/man-output.html

-oX <filespec> – Requests that XML output be directed to the given filename.

Incorrect answers:

Run an express scan https://nmap.org/book/man-port-specification.html There is no express scan in Nmap, but there is a fast scan. -F (Fast (limited port) scan)

Specifies that you wish to scan fewer ports than the default. Normally Nmap scans the most common 1,000 ports for each scanned protocol. With -F, this is reduced to 100.

Or we can influence the intensity (and speed) of the scan with the -T flag. https://nmap.org/book/man-performance.html

-T paranoid|sneaky|polite|normal|aggressive|insane

Output the results in truncated format to the screen https://nmap.org/book/man-output.html -oG <filespec> (grepable output)

It is a simple format that lists each host on one line and can be trivially searched and parsed with standard Unix tools such as grep, awk, cut, sed, diff, and Perl.

Run a Xmas scan https://nmap.org/book/man-port-scanning-techniques.html

Xmas scan (-sX)

Sets the FIN, PSH, and URG flags, lighting the packet up like a Christmas tree.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments