{"id":13491884,"url":"https://github.com/s0md3v/Smap","last_synced_at":"2025-03-28T08:33:34.143Z","repository":{"id":37394857,"uuid":"471627548","full_name":"s0md3v/Smap","owner":"s0md3v","description":"a drop-in replacement for Nmap powered by shodan.io","archived":false,"fork":false,"pushed_at":"2025-02-23T05:53:01.000Z","size":397,"stargazers_count":2987,"open_issues_count":0,"forks_count":276,"subscribers_count":31,"default_branch":"main","last_synced_at":"2025-03-24T21:38:29.003Z","etag":null,"topics":["network-scanner","network-security","nmap","nmap-alternative","port-scanner","port-scanning","scanner","scanning"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/s0md3v.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"s0md3v","custom":"https://paypal.me/s0md3v"}},"created_at":"2022-03-19T07:48:21.000Z","updated_at":"2025-03-24T07:32:52.000Z","dependencies_parsed_at":"2022-08-08T20:15:25.176Z","dependency_job_id":"2cb6f319-f510-4924-9f21-cfbef6bc44f1","html_url":"https://github.com/s0md3v/Smap","commit_stats":{"total_commits":50,"total_committers":6,"mean_commits":8.333333333333334,"dds":"0.18000000000000005","last_synced_commit":"90dfe744c29c9d0cdcb21de23a94fbaef7da12a3"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0md3v%2FSmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0md3v%2FSmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0md3v%2FSmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0md3v%2FSmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s0md3v","download_url":"https://codeload.github.com/s0md3v/Smap/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245997018,"owners_count":20707383,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["network-scanner","network-security","nmap","nmap-alternative","port-scanner","port-scanning","scanner","scanning"],"created_at":"2024-07-31T19:01:01.129Z","updated_at":"2025-03-28T08:33:33.606Z","avatar_url":"https://github.com/s0md3v.png","language":"Go","funding_links":["https://github.com/sponsors/s0md3v","https://paypal.me/s0md3v"],"categories":["Go","Install from Source","[↑](#-table-of-contents) Passive Infrastructure scanner","Network/port Scanners"],"sub_categories":["Network Tools","Tools"],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003ca href=\"https://github.com/s0md3v/smap\"\u003e\u003cimg src=\"/static/smap-logo.png\" alt=\"Smap logo\"\u003e\u003c/a\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003epassive Nmap like scanner built with shodan.io\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/s0md3v/Smap/releases\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/release/s0md3v/Smap.svg?label=version\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/s0md3v/Smap/releases\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/downloads/s0md3v/Smap/total\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/s0md3v/SMap/issues?q=is%3Aissue+is%3Aclosed\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/issues-closed-raw/s0md3v/Smap?color=dark-green\u0026label=issues%20fixed\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://travis-ci.com/s0md3v/Smap\"\u003e\n      \u003cimg src=\"https://img.shields.io/travis/com/s0md3v/Smap.svg?color=dark-green\u0026label=tests\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"/static/smap-demo.png\" alt=\"Smap demo\"\u003e\u003c/p\u003e\n\n---\n\nSmap is a port scanner built with shodan.io's free API. It takes same command line arguments as Nmap and produces the same output which makes it a drop-in replacament for Nmap.\n\n## Features\n- Scans 200 hosts per second\n- Doesn't require any account/api key\n- Vulnerability detection\n- Supports all nmap's output formats\n- Service and version fingerprinting\n- Makes no contact to the targets\n\n## Installation\n### Binaries\nYou can download a pre-built binary from [here](https://github.com/s0md3v/Smap/releases) and use it right away.\n\n### Manual\n`go install -v github.com/s0md3v/smap/cmd/smap@latest`\n\nConfused or something not working? For more detailed instructions, [click here](https://github.com/s0md3v/Smap/wiki/FAQ#how-do-i-install-smap)\n### AUR pacakge\nSmap is available on AUR as [smap-git](https://aur.archlinux.org/packages/smap-git) (builds from source) and [smap-bin](https://aur.archlinux.org/packages/smap-bin) (pre-built binary).\n\n### Homebrew/Mac\nSmap is also avaible on [Homebrew](https://formulae.brew.sh/formula/smap).\n\n```\nbrew update\nbrew install smap\n```\n\n## Usage\nSmap takes the same arguments as Nmap but options other than `-p`, `-h`, `-o*`, `-iL` are ignored. If you are unfamiliar with Nmap, here's how to use Smap.\n\n### Specifying targets\n```\nsmap 127.0.0.1 127.0.0.2\n```\nYou can also use a list of targets, seperated by newlines.\n```\nsmap -iL targets.txt\n```\n**Supported formats**\n\n```\n1.1.1.1         // IPv4 address\nexample.com     // hostname\n178.23.56.0/8   // CIDR\n```\n\n### Output\nSmap supports 6 output formats which can be used with the `-o* ` as follows\n```\nsmap example.com -oX output.xml\n```\nIf you want to print the output to terminal, use hyphen (`-`) as filename.\n\n**Supported formats**\n```\noX    // nmap's xml format\noG    // nmap's greppable format\noN    // nmap's default format\noA    // output in all 3 formats above at once\noP    // IP:PORT pairs seperated by newlines\noS    // custom smap format\noJ    // json\n```\n\n\u003e Note: Since Nmap doesn't scan/display vulnerabilities and tags, that data is not available in nmap's formats. Use `-oS` to view that info.\n\n### Specifying ports\nSmap scans these [1237 ports](https://gist.githubusercontent.com/s0md3v/3e953e8e15afebc1879a2245e74fc90f/raw/1e20288e9bef43b60f7306b6f7e23044dabd9b8c/shodan_ports.txt) by default. If you want to display results for certain ports, use the `-p` option.\n\n```\nsmap -p21-30,80,443 -iL targets.txt\n```\n\n## Considerations\nSince Smap simply fetches existent port data from shodan.io, it is super fast but there's more to it. You should use Smap if:\n\n#### You want\n- vulnerability detection\n- a super fast port scanner\n- results for most common ports (top 1237)\n- no connections to be made to the targets\n\n#### You are okay with\n- not being able to scan IPv6 addresses\n- results being up to 7 days old\n- a few false negatives\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs0md3v%2FSmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs0md3v%2FSmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs0md3v%2FSmap/lists"}