# s0md3v/Smap

a drop-in replacement for Nmap powered by shodan.io

Repository: https://github.com/s0md3v/Smap
Canonical: https://ross.abutalabs.com/products/smap
Language: Go
License: AGPL-3.0
License Family: copyleft
Topics: port-scanner, nmap, scanner, scanning, port-scanning, nmap-alternative, network-security, network-scanner
Last push: 2026-08-15T20:03:02+00:00

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

## Adoption (not part of the score)
Stars 3287, forks 320 (observed 2026-08-28T04:07:53.820470+00:00)

## What it is
Smap is a passive port scanner powered by Shodan.io's free API that serves as a drop-in replacement for Nmap, accepting the same command-line arguments and output formats. It performs service and version fingerprinting and vulnerability detection without making direct contact with targets in passive mode.

## Use cases
- scan hosts for open ports without touching the target network
- replace nmap in scripts since it takes the same arguments and output formats
- fingerprint services and versions on remote hosts quickly
- detect known vulnerabilities on scanned hosts
- scan 200 hosts per second for large target lists
- accelerate real nmap scans using Shodan-reported ports

## When to choose
- you need fast passive port discovery without an API key or account
- you want nmap-compatible CLI and output formats (xml, greppable, )
- stealth matters and you cannot make contact with the targets
- you want to narrow a full nmap scan to ports Shodan already knows about

## When to avoid
- you need active, exhaustive port scanning of all 65535 ports on a live network
- you need LAN/internal network scanning where Shodan has no data
- you need deep NSE scripting or advanced nmap features in passive mode
- you require up-to-the-minute results for hosts not indexed by Shodan

## Facets
- artifact type: cli-tool
- maturity: active
- function: security, networking, cli
- domain: security, networking, penetration-testing
- platform: windows, cli, cross-platform
- tags: port-scanner, nmap-alternative, shodan, passive-scanning, vulnerability-detection, service-fingerprinting, reconnaissance, command-line, linux, macos

## Member repositories
- s0md3v/Smap (main) score 90

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:53.820470+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-29T18:43:12.947831+00:00, confidence not recorded.
  - readme: https://github.com/s0md3v/Smap (fetched 2026-08-28T04:07:53.820470+00:00, sha d6bf19b85ea3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
