{"id":13844548,"url":"https://github.com/the-c0d3r/pynmap","last_synced_at":"2025-12-25T16:05:52.760Z","repository":{"id":25681214,"uuid":"29117173","full_name":"the-c0d3r/pynmap","owner":"the-c0d3r","description":"A serious attempt to implement multi-threading to nmap module, which would result in faster scanning speed. I know that one can write NSE scripts for multi-threaded scanning with it, but I wanted to try it on python.","archived":false,"fork":false,"pushed_at":"2018-10-13T06:04:41.000Z","size":73,"stargazers_count":28,"open_issues_count":0,"forks_count":13,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-07-11T23:38:12.831Z","etag":null,"topics":["multi-threading","nmap","python","scanner"],"latest_commit_sha":null,"homepage":"","language":"Python","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/the-c0d3r.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}},"created_at":"2015-01-12T03:36:33.000Z","updated_at":"2024-08-12T19:15:53.000Z","dependencies_parsed_at":"2022-08-24T05:11:11.950Z","dependency_job_id":null,"html_url":"https://github.com/the-c0d3r/pynmap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/the-c0d3r/pynmap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-c0d3r%2Fpynmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-c0d3r%2Fpynmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-c0d3r%2Fpynmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-c0d3r%2Fpynmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/the-c0d3r","download_url":"https://codeload.github.com/the-c0d3r/pynmap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-c0d3r%2Fpynmap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28032324,"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-12-25T02:00:05.988Z","response_time":58,"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":["multi-threading","nmap","python","scanner"],"created_at":"2024-08-04T17:02:44.952Z","updated_at":"2025-12-25T16:05:52.733Z","avatar_url":"https://github.com/the-c0d3r.png","language":"Python","funding_links":[],"categories":["Python (1887)","Python"],"sub_categories":[],"readme":"# pynmap\nA serious(Tried to be) attempt to implement multi-threading to nmap module, which would result in faster scanning speed. I know that one can write NSE scripts for multi-threaded scanning with it, but I wanted to try it on python.\n\nUsage :\n- `python pingsweep.py -t 192.168.1.0/24`\n\n\n### Changelog\n- refactored common classes into lib package\n- rewritten pingsweep using python's built-in concurrent module, instead of rolling my own worker threads. This reduced the code into barely 50 lines of code.\n- updated the code into python3.5 and above, since type annotations are only available from python3.5 and above.\n\n\nResult\n======\nWhen I first created this repo, nmap scanner I was using (can't remember the version) took about 27 seconds to scan 192.168.1.0/24 range, but this program can do that within 5 seconds. But now, things have changed, and new nmap version 7.70 can do the same in 2.3 seconds. But still, this would be a good experiment to try to beat nmap speed. Maybe write a custom scapy packet generator to scan manually?\n\n![](https://i.imgur.com/CRGlEX4.png)\n\n![image of result](http://i.imgur.com/Im87Hj0.png)\n\n![image of result](http://i.imgur.com/WZoEJTL.png)\n\nRequirement\n===========\npython3.5 and above\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-c0d3r%2Fpynmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthe-c0d3r%2Fpynmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-c0d3r%2Fpynmap/lists"}