{"id":25074687,"url":"https://github.com/rix4uni/portmap","last_synced_at":"2025-08-28T23:48:44.867Z","repository":{"id":242555231,"uuid":"809881467","full_name":"rix4uni/portmap","owner":"rix4uni","description":"portmap is a fast portscan tool, uses shodan public data for port scan used internetdb.shodan.io and api.shodan.io/shodan/host","archived":false,"fork":false,"pushed_at":"2025-02-05T06:36:41.000Z","size":14,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-11T05:42:39.141Z","etag":null,"topics":["bug-bounty","bugbounty","bugbountytips","hacking","infosec","internetdb","osint","osint-resources","penetration-testing","pentest-tool","pentesting","port-enumeration","portscanner","recon","reconnaissance","scan-ports","security","security-tools","shodan","threat-intelligence"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rix4uni.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,"zenodo":null}},"created_at":"2024-06-03T16:18:40.000Z","updated_at":"2025-03-07T00:01:31.000Z","dependencies_parsed_at":"2025-02-05T07:24:32.844Z","dependency_job_id":"897a61ea-7d96-4ac4-9d66-a65cdf74fce0","html_url":"https://github.com/rix4uni/portmap","commit_stats":null,"previous_names":["rix4uni/portmap"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/rix4uni/portmap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rix4uni%2Fportmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rix4uni%2Fportmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rix4uni%2Fportmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rix4uni%2Fportmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rix4uni","download_url":"https://codeload.github.com/rix4uni/portmap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rix4uni%2Fportmap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272582506,"owners_count":24959419,"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-08-28T02:00:10.768Z","response_time":74,"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":["bug-bounty","bugbounty","bugbountytips","hacking","infosec","internetdb","osint","osint-resources","penetration-testing","pentest-tool","pentesting","port-enumeration","portscanner","recon","reconnaissance","scan-ports","security","security-tools","shodan","threat-intelligence"],"created_at":"2025-02-07T00:18:18.505Z","updated_at":"2025-08-28T23:48:44.826Z","avatar_url":"https://github.com/rix4uni.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## portmap\n\nportmap is a fast portscan tool, uses shodan public data for port scan used internetdb.shodan.io and api.shodan.io/shodan/host\n\n## Installation\n```\ngo install -v github.com/rix4uni/portmap@latest\n```\n\n## Download prebuilt binaries\n```\nwget https://github.com/rix4uni/portmap/releases/download/v0.0.3/portmap-linux-amd64-0.0.3.tgz\ntar -xvzf portmap-linux-amd64-0.0.3.tgz\nrm -rf portmap-linux-amd64-0.0.3.tgz\nmv portmap ~/go/bin/portmap\n```\nOr download [binary release](https://github.com/rix4uni/portmap/releases) for your platform.\n\n## Compile from source\n```\ngit clone --depth 1 github.com/rix4uni/portmap.git\ncd portmap; go install\n```\n\n## Usage\n```\n                         __\n    ____   ____   _____ / /_ ____ ___   ____ _ ____\n   / __ \\ / __ \\ / ___// __// __  __ \\ / __  // __ \\\n  / /_/ // /_/ // /   / /_ / / / / / // /_/ // /_/ /\n / .___/ \\____//_/    \\__//_/ /_/ /_/ \\__,_// .___/\n/_/                                        /_/\n                    Current portmap version v0.0.3\n\nA longer description that spans multiple lines and likely contains\nexamples and usage of using your application. For example:\n\nCobra is a CLI library for Go that empowers applications.\nThis application is a tool to generate the needed files\nto quickly create a Cobra application.\n\nUsage:\n  portmap [flags]\n  portmap [command]\n\nAvailable Commands:\n  apishodan   A brief description of your command uses https://api.shodan.io/shodan/host/\n  completion  Generate the autocompletion script for the specified shell\n  help        Help about any command\n  internetdb  A brief description of your command uses https://internetdb.shodan.io/\n\nFlags:\n  -h, --help      help for portmap\n  -v, --version   Print the version of the tool and exit.\n```\n\n## Usage Example\n\nSingle IP:\n```\n# Basic Usage\n▶ echo \"147.249.56.149\" | portmap internetdb\n147.249.56.149:443\n147.249.56.149:8080\n147.249.56.149:8843\n\n# Advanced Usage\n▶ echo \"147.249.56.149\" | portmap apishodan\n147.249.56.149:8000 [ASAS6419] [Fidelity National Information Services, Inc.]\n147.249.56.149:8080 [ASAS6419] [Fidelity National Information Services, Inc.]\n147.249.56.149:443 [ASAS6419] [Fidelity National Information Services, Inc.]\n147.249.56.149:8843 [ASAS6419] [Fidelity National Information Services, Inc.]\n147.249.56.149:8443 [ASAS6419] [Fidelity National Information Services, Inc.]\n\n# CIDR range\n▶ echo \"1.2.3.4/24\" | portmap apishodan\n1.2.3.4:80\n1.2.3.5:80\n\n# Get JSON response\n▶ echo \"147.249.56.149\" | portmap apishodan --json\n{\n  \"ip_str\": \"147.249.56.149\",\n  \"ports\": [\n    8000,\n    8080,\n    443,\n    8843,\n    8443\n  ],\n  \"asn\": \"AS6419\",\n  \"org\": \"Fidelity National Information Services, Inc.\",\n  \"domains\": [\n    \"automatedfinancial.com\"\n  ]\n}\n```\n\nMultiple IPs:\n```\n▶ cat ips.txt\n104.18.36.214\n104.18.39.102\n147.249.56.149\n1.2.3.4/24\n```\n\n```\n▶ cat ips.txt | portmap apishodan\n▶ cat ips.txt | portmap internetdb\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frix4uni%2Fportmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frix4uni%2Fportmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frix4uni%2Fportmap/lists"}