{"id":20292471,"url":"https://github.com/mauricelambert/asyncportscanner","last_synced_at":"2025-07-31T02:40:46.641Z","repository":{"id":151861946,"uuid":"624534414","full_name":"mauricelambert/AsyncPortScanner","owner":"mauricelambert","description":"Asynchronous port scanner written in Nim.","archived":false,"fork":false,"pushed_at":"2025-05-11T13:40:21.000Z","size":57,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-11T14:38:20.537Z","etag":null,"topics":["asynchronous","nim","port","port-scanner","scan","scanner"],"latest_commit_sha":null,"homepage":"","language":"Nim","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mauricelambert.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}},"created_at":"2023-04-06T17:26:25.000Z","updated_at":"2025-05-11T13:37:58.000Z","dependencies_parsed_at":"2024-11-04T14:24:18.042Z","dependency_job_id":"4f6d775d-957a-4175-ae43-f7056be7522d","html_url":"https://github.com/mauricelambert/AsyncPortScanner","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mauricelambert/AsyncPortScanner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauricelambert%2FAsyncPortScanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauricelambert%2FAsyncPortScanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauricelambert%2FAsyncPortScanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauricelambert%2FAsyncPortScanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mauricelambert","download_url":"https://codeload.github.com/mauricelambert/AsyncPortScanner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mauricelambert%2FAsyncPortScanner/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267978140,"owners_count":24175250,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["asynchronous","nim","port","port-scanner","scan","scanner"],"created_at":"2024-11-14T15:17:24.594Z","updated_at":"2025-07-31T02:40:46.585Z","avatar_url":"https://github.com/mauricelambert.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"![AsyncPortScanner Logo](https://mauricelambert.github.io/info/nim/security/AsyncPortScanner_small.png \"AsyncPortScanner logo\")\r\n\r\n# AsyncPortScanner\r\n\r\n## Description\r\n\r\nCross-platform asynchronous port scanner written in Nim.\r\n\r\n## Requirements\r\n\r\n - No requirements\r\n\r\n## Download\r\n\r\n - https://github.com/mauricelambert/AsyncPortScanner/releases\r\n\r\n## Compilation\r\n\r\n### Windows\r\n\r\n#### Non static\r\n\r\n```bash\r\nnim.exe c --stackTrace:off  --lineTrace:off --checks:off --assertions:off -d:release -d:windows AsyncPortScanner.nim\r\n```\r\n\r\n#### Static with size optimization\r\n\r\nI recommend using this compilation if you don't know the system (and DLL installed on the system) where the scan will be lanched.\r\n\r\n```bash\r\nnim.exe c --passl:\"-static -static-libgcc -static-libstdc++\" --opt:size --stackTrace:off  --lineTrace:off --checks:off --assertions:off -d:release -d:windows AsyncPortScanner.nim\r\n```\r\n\r\n### Linux\r\n\r\n```bash\r\nnim c --stackTrace:off  --lineTrace:off --checks:off --assertions:off -d:release -d:linux AsyncPortScanner.nim\r\n```\r\n\r\n## Usages\r\n\r\n### Default scan\r\n\r\nWithout any arguments the scan will detect all of your network interfaces and scan all IP on it.\r\n\r\n```bash\r\n./scan\r\n```\r\n\r\nBy default the scan is a TCP scan on all of this ports range:\r\n\r\n - 21-25\r\n - 135-139\r\n - 80\r\n - 443-445\r\n - 3000\r\n - 3389\r\n - 5000-5357\r\n - 8000-8888\r\n - 30102\r\n\r\n### Custom scan policy\r\n\r\n```bash\r\n./scan -w=1000 192.168.56.1-50:tcp:21-25,135-139,80,443-445,3000,5000-5357,8000-8888,30102\r\n```\r\n\r\n#### Multiples policies\r\n\r\n```bash\r\n./scan -w=3000 192.168.0.1-192.168.56.255 192.168.0.1-192.168.56.255:udp:67-68\r\n```\r\n\r\n\u003e Note: the default protocole is `icmp`, it's equivalent of `192.168.0.1-192.168.56.255:icmp`.\r\n\r\nThis scan performs a `ICMP` scan on the first IP range and `UDP` scan on the second IP range (on port 67 and 68).\r\n\r\n\u003e Note: It's better for optimization to use a range of port instead of a list of port ranges (`67-68` instead of `67,68`).\r\n\r\n#### Multiples IP range\r\n\r\n```bash\r\n./scan -w=100 192.168.0.1/24,192.168.56.1/255.255.255.240:tcp:1-1024\r\n```\r\n\r\n### Options\r\n\r\n#### Timeout\r\n\r\n```bash\r\n./scan -w=100 -t=3 192.168.0.1/24,192.168.56.1/255.255.255.240:tcp:1-1024\r\n```\r\n\r\nSet timeout to 3 seconds (instead of 1 second by default).\r\n\r\n#### Workers\r\n\r\nWorkers should alway be set, it's necessary to adapt the value with your computer resources (by default 3000 on Windows, but on a VM Windows i needed set it to 100, by default on Linux is 1000).\r\n\r\n```bash\r\n./scan -w=1000 192.168.0.1/24,192.168.56.1/255.255.255.240:tcp:1-1024\r\n```\r\n\r\n#### Print\r\n\r\nPrint all (maximum verbosity):\r\n\r\n```bash\r\n./scan -w=100 -a 192.168.0.1/24,192.168.56.1/255.255.255.240:tcp:1-1024\r\n```\r\n\r\nPrint filtered:\r\n\r\n```bash\r\n./scan -w=100 -f 192.168.0.1/24,192.168.56.1/255.255.255.240:tcp:1-1024\r\n```\r\n\r\nPrint close:\r\n\r\n```bash\r\n./scan -w=100 -c 192.168.0.1/24,192.168.56.1/255.255.255.240:tcp:1-1024\r\n```\r\n\r\n## Licence\r\n\r\nLicensed under the [GPL, version 3](https://www.gnu.org/licenses/).\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmauricelambert%2Fasyncportscanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmauricelambert%2Fasyncportscanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmauricelambert%2Fasyncportscanner/lists"}