{"id":26327313,"url":"https://github.com/islc12/port_map","last_synced_at":"2025-07-14T00:07:54.066Z","repository":{"id":276912397,"uuid":"930713939","full_name":"Islc12/Port_Map","owner":"Islc12","description":"Port mapper Bash script using Nmap to appropriately filter and group ports by number and status","archived":false,"fork":false,"pushed_at":"2025-02-11T18:52:36.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T20:18:22.927Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Islc12.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-02-11T04:49:45.000Z","updated_at":"2025-02-11T18:52:39.000Z","dependencies_parsed_at":"2025-02-11T05:38:56.496Z","dependency_job_id":null,"html_url":"https://github.com/Islc12/Port_Map","commit_stats":null,"previous_names":["islc12/port_map"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Islc12/Port_Map","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Islc12%2FPort_Map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Islc12%2FPort_Map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Islc12%2FPort_Map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Islc12%2FPort_Map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Islc12","download_url":"https://codeload.github.com/Islc12/Port_Map/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Islc12%2FPort_Map/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265224161,"owners_count":23730345,"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":[],"created_at":"2025-03-15T20:18:25.301Z","updated_at":"2025-07-14T00:07:53.832Z","avatar_url":"https://github.com/Islc12.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Port Mapper Version 1\n### Author: Rich Smith\n### Date 2/10/2025\n\n----------------------------------------------------------------------------------------------------------------------------------------\n\n### Version 1 - \n  I think this is aligning somewhat with the intention of the CTF event, this script is designed to be fast through utilization\n  of the `-T5` flag. It's also supposed to be accurate and give the user the ability to double check ports in the event that something\n  is still missing. I'm not entirely certain how the event is planned to go, but I'm assuming we're not supposed to know which lights\n  go with which ports, its simply an \"is it open or is it closed\" type scenario. I'm also assuming that there will be some kind of \n  stdout check that a port is open/closed rather than just a light being off. If not then we'd need some kind of photodetector, a piece\n  of equipment that I'm only familiar with in my son's Snap Circuits toy set. In any event, the way this script is supposed to be used\n  is through 2 sets of inputs, the first being an IPv4 address, and then the second an option from the proceeding case statement.\n  Initially the user should select option 1 and do a custom scan, either from ports 1-65,535 or any assortment of port numbers. Doing a\n  test on my own home network it took me about 17 seconds for the script to run when testing the whole 65,536 port range. Following this\n  initial test comes a secondary test set, since I don't couldn't test on filtered services, and I don't know if that'll be apart of the\n  challenge, I setup a filtered services file that would be created following the run of the second test. After that its going to come\n  down to finding any missing ports and getting rid of any ports that slipped by on accident. The script does contain a filter for closed\n  ports however as of 2/10/2025 I haven't set up a way to generate that list unless a smaller custom list is started from the beginning.\n\nAny and all help for revision towards this would be appreciated.\n\n----------------------------------------------------------------------------------------------------------------------------------------\n\n### TODO\nFigure out a way to efficiently test for UDP ports. As it stands it only tests TCP, not sure if UDP will be on the challenge or not, but \nwe should probably anticipate it regardless. Right now adding the -sU option slows the script down quite a bit so hopefully we don't need\nto go the UDP route, but if so maybe just on site modification of the script will be all that is necessary. Filtering the results list\nmay be necessary to avoid overlapping TCP/UDP ports.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fislc12%2Fport_map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fislc12%2Fport_map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fislc12%2Fport_map/lists"}