Introduction
In this challenge, you'll learn to save Nmap output to an XML file, a crucial skill for documenting network configurations and security assessments. The task involves using Nmap to scan localhost
on port 8080
and saving the results as scan_report.xml
in the /home/labex/project
directory.
To complete the challenge, you'll need to execute the Nmap command from the ~/project
directory, utilizing the -oX
option for XML output and -p 8080
to specify the target port. A successful completion will result in the creation of the scan_report.xml
file containing the XML-formatted Nmap scan results.