{"id":27207990,"url":"https://github.com/cedi/cmap","last_synced_at":"2026-03-06T06:31:06.626Z","repository":{"id":40972124,"uuid":"407909479","full_name":"cedi/cmap","owner":"cedi","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-14T22:08:30.000Z","size":13150,"stargazers_count":1,"open_issues_count":11,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-15T00:14:55.951Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cedi.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-09-18T16:20:16.000Z","updated_at":"2022-01-25T08:54:23.000Z","dependencies_parsed_at":"2024-06-21T01:24:54.871Z","dependency_job_id":"88412a43-9603-4823-8ebf-673912bfa9d8","html_url":"https://github.com/cedi/cmap","commit_stats":{"total_commits":39,"total_committers":4,"mean_commits":9.75,"dds":0.6923076923076923,"last_synced_commit":"6a69cb9324bea31e0b53c24808733a158849bc4d"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/cedi/cmap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedi%2Fcmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedi%2Fcmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedi%2Fcmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedi%2Fcmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cedi","download_url":"https://codeload.github.com/cedi/cmap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedi%2Fcmap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30164590,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T04:43:31.446Z","status":"ssl_error","status_checked_at":"2026-03-06T04:40:30.133Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2025-04-09T23:59:00.244Z","updated_at":"2026-03-06T06:31:05.973Z","avatar_url":"https://github.com/cedi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cmap\n\n[![GitHub license](https://img.shields.io/github/license/cedi/cmap.svg)](https://github.com/cedi/cmap/blob/main/LICENSE)\n[![GitHub go.mod Go version of a Go module](https://img.shields.io/github/go-mod/go-version/cedi/cmap.svg)](https://github.com/cedi/cmap)\n[![GoDoc reference example](https://img.shields.io/badge/godoc-reference-blue.svg)](https://pkg.go.dev/github.com/cedi/cmap)\n[![GoReportCard example](https://goreportcard.com/badge/github.com/cedi/cmap)](https://goreportcard.com/report/github.com/cedi/cmap)\n[![Total alerts](https://img.shields.io/lgtm/alerts/g/cedi/cmap.svg?logo=lgtm\u0026logoWidth=18)](https://lgtm.com/projects/g/cedi/cmap/alerts/)\n[![workflow status](https://github.com/cedi/cmap/actions/workflows/go.yml/badge.svg)](https://github.com/cedi/cmap/actions)\n\ncmap is a poor-mans version of `nmap`. It utilizes nmap under the hood.\n\nI'm just really fucking lazy learning the proper nmap syntax. Nost of the time, I just wanna know which hosts are up, and if port 22 is open for SSH. So yeah, call me stupid, but I actually use this tool almost on a daily base.\nSorry to all the nmap fans who feel offended by this creation of mine. But hey - at least it uses nmap under the hood, right? ;)\n\n## Usage\n\n```bash\n$ cmap scan network 192.168.0.0/24 -p 6443\nStarting scan of network [192.168.0.0/24] with Timeout 15m0s\n  NAME (5)              IP              SSH        OTHER PORTS                    ERROR\n --------------------- --------------- ---------- ------------------------------ -------\n  router                192.168.0.1     filtered   sun-sr-https/6443/tcp=closed\n  ava                   192.168.0.140   closed     sun-sr-https/6443/tcp=closed\n  clusterpi-master      192.168.0.156   open       sun-sr-https/6443/tcp=open\n  clusterpi-worker-1    192.168.0.111   open       sun-sr-https/6443/tcp=closed\n  clusterpi-worker-2    192.168.0.103   open       sun-sr-https/6443/tcp=closed\n```\n\n## Pull requests\n\nI warmly welcome pull requests. Feel free to contribute whatever you feel like (if you feel like it at all 😂 it's a kinda stupid tool anyway)\n\n[![made-with-Go](https://img.shields.io/badge/Made%20with-Go-1f425f.svg)](http://golang.org)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\n### Multi-Threading\n\nIt should be rather called \"multi-go-routines\". I utilize go-routines with a thread-pool design approach, so you can easily tailor the amount of threads used using the `--paralell` flag.\nBy default I spawn 10 go routines.\n\nI don't actually multi-thread the network discovery, but only the host-detection part.\nThat means, if you wanna scan a `/12` network, it first calls `nmap -sn cidr/12` under the hood, which will take forever (or at least it will feel like it's taking forever). However, now that you got a couple hundred (or - imagine - a couple thousand) hosts reported as \"online\", the thread-pool is used to scan for open ports in paralell. Each thread is scanning one host at a time, using `nmap ipaddr -p 22`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedi%2Fcmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcedi%2Fcmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedi%2Fcmap/lists"}