# Ullaakut/nmap

Idiomatic nmap library for go developers

Repository: https://github.com/Ullaakut/nmap
Canonical: https://ross.abutalabs.com/products/ullaakut-nmap
Language: Go
License: MIT
License Family: permissive
Topics: nmap, infosec, golang, idiomatic, pentesting, audit, netsec, penetration-testing, hacking, network-analysis, network-mapping
Last push: 2026-09-02T13:25:49+00:00

## Health v2 (maintenance only)
Score: 90/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 71, longevity 100
- inputs: {"age_days": 2783, "days_push": 0, "days_rel": 38, "gap_med": 137, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1047, forks 118 (observed 2026-09-03T02:15:08.441190+00:00)

## What it is
An idiomatic Go library that wraps the nmap network scanner by shelling out to the nmap binary and parsing its XML output. It lets Go developers programmatically run network scans for security auditing and penetration testing tools.

## Use cases
- run nmap scans from a go program
- build a network security audit tool in golang
- parse nmap xml output in go
- discover hosts and open ports on a network programmatically
- write pentesting tools in go
- automate service and os detection scans
- integrate port scanning into a go application

## When to choose
- you are writing security or network scanning tools in Go
- you want type-safe, idiomatic access to nmap options instead of building command strings
- you need structured scan results parsed from nmap XML output

## When to avoid
- nmap is not installed on the target machine, since the library shells out to the nmap binary
- you need a pure-Go packet-level scanner without external dependencies
- you are not working in Go

## Facets
- artifact type: library
- maturity: active
- function: security, parser, cli
- domain: security, penetration-testing, networking, developer-tools
- platform: go, windows, cross-platform
- tags: nmap, network-scanning, port-scanner, wrapper, xml-parsing, infosec, pentesting, linux, macos

## Member repositories
- Ullaakut/nmap (main) score 90

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:08.441190+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:01:56.110107+00:00, confidence not recorded.
  - readme: https://github.com/Ullaakut/nmap (fetched 2026-09-03T02:15:08.441190+00:00, sha 1264fe304205)
- Data as of 2026-08-30T08:39:29.467469+00:00.
