nmap-parse
Installation
SKILL.md
Nmap Parse & Recon Planning
Parse nmap scan results and produce actionable reconnaissance notes.
Parse the user's input to determine the file and focus area:
$nmap-parse scan.xml→ parse XML output, all service categories$nmap-parse scan.gnmap web→ parse grepable output, web services only$nmap-parse scan.nmap ad→ parse normal output, Active Directory focus
Focus areas: all (default), web, ad, databases, remote-access
Steps
- Read the nmap output file provided by the user
- Detect format: XML (look for
<?xml), grepable (look forHost:), or normal output - XML is preferred for structured parsing — use Python's
xml.etree.ElementTreeor regex extraction - For grepable/normal: extract with pattern matching
- Detect format: XML (look for