poka.sh

Docs

NMAP

Generated by scripts/gen-format-pages.py from docs/data/format-metadata/, FILE_FORMATS.csv and docs/formats-master.csv. Do not edit by hand: change the source, then run the script.

nmap XML Preview.

At a glance

Purpose An nmap XML scan report: hosts with addresses, host names and ports with state and service.
Extensions .nmap
Poka parser poka-nmap
Viewer poka-table-viewer
Depth tier Parser with a shared viewer (see Depth tiers)
Breadth tier B3 Core (see Breadth tiers)

How much Poka reads

B3 Core. Only the main content type or types are decoded (for example geometry but not materials, layers or annotations, or only one version family). The list of gaps is substantial.

Confidence: medium (the reviewer read the code). Basis: Reviewed 2026-10-26: read parsers/poka-nmap/src/main.rs (310 lines) and plugin.json. No unit tests or tests/samples.rs; the corpus has no .nmap and .nmap.xml sample. Covers .nmap and .nmap.xml. The table has one row per port with IP, host name, port, protocol, state, service and banner (product and version). Judgement: B3: the ports found per host are listed, but the rest of the scan is not.

What Poka does not read

  • OS detection, script output, traceroute and timing are not shown
  • Hosts with no port entries do not appear
  • Scan parameters and run statistics are not shown
  • Only the first 2,000 ports are listed

Libraries

Libraries Poka uses or has assessed for this format, with the status, licence and language the registry records.

  • quick-xml (used; MIT; Rust)
  • nmap_xml_parser (candidate; MIT OR Apache-2.0; Rust; https://github.com/ayrx/nmap_xml_parser) — Typed structs from Nmap XML; pre-1.0, last release 0.3.0 in 2020, incomplete model. lib.rs lists licence as MIT/Apache, read as dual.

Sources

  • parsers/poka-nmap/src/main.rs
  • parsers/poka-nmap/plugin.json