{"id":23106954,"url":"https://github.com/benjitrapp/ip-to-cloudprovider","last_synced_at":"2025-08-16T17:31:12.128Z","repository":{"id":206588164,"uuid":"716804994","full_name":"BenjiTrapp/ip-to-cloudprovider","owner":"BenjiTrapp","description":"Scrape the IP ranges of cloudproviders and check if a IP belongs to a particular CloudProvider. This can also help to speed up your CSIRT activities","archived":false,"fork":false,"pushed_at":"2024-12-15T00:21:02.000Z","size":42210,"stargazers_count":6,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-16T02:15:19.136Z","etag":null,"topics":["aws","azure","bluete","cloudflare","cloudprovider","cloudsecurity","ip-lookup","ipra","osint-tool"],"latest_commit_sha":null,"homepage":"https://benjitrapp.github.io","language":"Go","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/BenjiTrapp.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":"2023-11-09T23:01:42.000Z","updated_at":"2024-12-15T00:21:06.000Z","dependencies_parsed_at":"2024-03-01T01:30:26.078Z","dependency_job_id":"fbcbe815-543a-4e28-b7ce-1a692890ab83","html_url":"https://github.com/BenjiTrapp/ip-to-cloudprovider","commit_stats":null,"previous_names":["benjitrapp/ip-to-cloudprovider"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenjiTrapp%2Fip-to-cloudprovider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenjiTrapp%2Fip-to-cloudprovider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenjiTrapp%2Fip-to-cloudprovider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenjiTrapp%2Fip-to-cloudprovider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BenjiTrapp","download_url":"https://codeload.github.com/BenjiTrapp/ip-to-cloudprovider/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230047254,"owners_count":18164573,"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":["aws","azure","bluete","cloudflare","cloudprovider","cloudsecurity","ip-lookup","ipra","osint-tool"],"created_at":"2024-12-17T01:11:56.492Z","updated_at":"2025-08-16T17:31:12.110Z","avatar_url":"https://github.com/BenjiTrapp.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![IP Ranges Update](https://github.com/BenjiTrapp/ip-to-cloudprovider/actions/workflows/daily-scraper.yml/badge.svg)](https://github.com/BenjiTrapp/ip-to-cloudprovider/actions/workflows/daily-scraper.yml)\n[![ipscanner](https://github.com/BenjiTrapp/ip-to-cloudprovider/actions/workflows/ipscanner.yml/badge.svg)](https://github.com/BenjiTrapp/ip-to-cloudprovider/actions/workflows/ipscanner.yml)\n[![Quality Check after Commit](https://github.com/BenjiTrapp/ip-to-cloudprovider/actions/workflows/go.yml/badge.svg)](https://github.com/BenjiTrapp/ip-to-cloudprovider/actions/workflows/go.yml)\n\n\u003cp align=\"center\"\u003e\n\u003cimg height=\"200\" src=\"static/logo.png\"\u003e\n\u003cbr\u003e IP To CloudProvider\n\u003c/p\u003e\n\nThis command-line tool helps to manage and check IP ranges for various service providers. It allows you to update IP ranges for specific providers, check if an IP belongs to any provider's range, and even verify a list of IPs from a file. Some GitHub Actions are helping to create a nice workflow around the CLI-Tool.\n\n## Features\n\n- **Update IP Ranges:** Keep the IP ranges for various service providers up-to-date with a single command.\n- **Check IP:** Determine if a specific IP belongs to the range of any supported provider.\n- **Check IPs from File:** Verify a list of IPs from a file and identify the corresponding providers.\n\n## GitHub Action Workflows\n- **IP Scanner:** All IPs in this [file](https://github.com/BenjiTrapp/ip-to-cloudprovider/blob/main/ips_to_scan.txt) are validated and checked. After the check all info is send as a GitHub Issue against this repository. This helps for persisting the scan results and make it easier to use\n- **Quality Checks:** After each merge into main or accepted PullRequest, quality checks are against the Code. In this way it makes things easier to identify a broken behavior\n- **Daily Scraper:** Each day at midnight, this action get's triggered to update the IP ranges of the cloudproviders if something changed\n\n\n## Demo\nA picture says more then thousand words. Check out this demo (that you can redo on your own, check out the installation section below)\n\n![](/static/demo.gif)\n\n### Supported Providers\n* Amazon\n* Cloudflare\n* GitHub\n* Google\n* GoogleCloud\n* GoogleBot\n* Microsoft\n* OpenAI\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/BenjiTrapp/ip-to-cloudprovider.git\n   ```\n2. Get the required dependencies\n   ```bash\n   go mod tidy\n   ```\n3. Build the binary\n   ```\n   make build\n   ```\n\n## Usage Examples\n\n#### Update all CloudProvider IP ranges\n```bash\n# use makefile\nmake update\n\n# manual short\n./ip-to-cloudprovider -a\n\n# manual verbose\n./ip-to-cloudprovider --update-all\n```\n\n#### Check a dedicated IP\n```bash\n./ip-to-cloudprovider check-ip \u003cyour IP\u003e\n\n   ____   ______     _______                _____               _    __       \n  /  _/__/_  __/__  / ___/ /  ___  __ _____/ / _ \\_______ _  __(_)__/ /__ ____\n _/ // _ \\/ / / _ \\/ /__/ /__/ _ \\/ // / _  / ___/ __/ _ \\ |/ / / _  / -_) __/\n/___/ .__/_/  \\___/\\___/____/\\___/\\_,_/\\_,_/_/  /_/  \\___/___/_/\\_,_/\\__/_/   \n   /_/                                                                        \n-------------------------------------------------------\n51.16.50.245    is in the range of Amazon\n```\n\n#### Check a List of ips \n\nMake sure that only one IP per line is present in your file. No seperator/delimiter is required, this makes it easier with some grep magic to create your base list that you want to check\n\n```bash\n./ip-to-cloudprovider check-file \u003cyour file with ips\u003e\n\n   ____   ______     _______                _____               _    __       \n  /  _/__/_  __/__  / ___/ /  ___  __ _____/ / _ \\_______ _  __(_)__/ /__ ____\n _/ // _ \\/ / / _ \\/ /__/ /__/ _ \\/ // / _  / ___/ __/ _ \\ |/ / / _  / -_) __/\n/___/ .__/_/  \\___/\\___/____/\\___/\\_,_/\\_,_/_/  /_/  \\___/___/_/\\_,_/\\__/_/   \n   /_/                                                                        \n-------------------------------------------------------\n51.16.50.245    is in the range of Amazon\n130.211.30.225  is in the range of Google\n20.15.240.179   is in the range of Openai\n185.199.111.153 is in the range of Github\n2400:cb00::     is in the range of Cloudflare\n52.130.76.17    is in the range of Microsoft\n```\n\n## Contribution\nContributions are welcome! If you'd like to add support for a new provider or improve the existing code, please submit a pull request.\n\n\n\n**Not**e: This tool is provided as-is, without any warranties. Use it responsibly and respect the terms of service of the supported providers.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjitrapp%2Fip-to-cloudprovider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenjitrapp%2Fip-to-cloudprovider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjitrapp%2Fip-to-cloudprovider/lists"}