Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/s3rgeym/ripe-ip-search
RIPE IP Search
https://github.com/s3rgeym/ripe-ip-search
Last synced: 1 day ago
JSON representation
RIPE IP Search
- Host: GitHub
- URL: https://github.com/s3rgeym/ripe-ip-search
- Owner: s3rgeym
- License: apache-2.0
- Created: 2024-02-26T00:16:47.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-02-27T23:43:01.000Z (8 months ago)
- Last Synced: 2024-09-07T00:30:17.886Z (2 months ago)
- Language: Python
- Size: 97.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ripe-ip-search
Tool to search ip addresses using RIPE DB. It uses [fulltext search API](https://apps.db.ripe.net/db-web-ui/fulltextsearch) and help to find ip addresses owned by companies. Useful for port scanning and etc.
Installation:
```bash
# latest pypi version
pipx install ripe-ip-search# latest github commit
pipx install --force git+https://github.com/s3rgeym/ripe-ip-search.git
```Example:
```bash
❯ ripe-ip-search --details alfa bank --no-banner -vv
[D] search params={'facet': 'true', 'format': 'xml', 'hl': 'true', 'q': '("alfa bank") AND (object-type:inetnum OR object-type:inet6num)', 'start': 0, 'wt': 'json'}
[D] {'primary-key': '5985055', 'object-type': 'inetnum', 'lookup-key': '82.208.88.232 - 82.208.88.239', 'inetnum': '82.208.88.232 - 82.208.88.239', 'netname': 'ALFABANK-NN-NET', 'descr': ['Personal network for OAO ALFA-BANK', '', ''], 'country': ['RU'], 'admin-c': ['VP1858-RIPE'], 'tech-c': ['VP1858-RIPE'], 'status': 'ASSIGNED PA', 'notify': ['[email protected]'], 'mnt-by': ['NMTS-MNT'], 'created': '2007-11-16T06:31:17Z', 'last-modified': '2018-01-22T06:12:09Z'}
{"networks": ["82.208.88.232/29"], "num_addresses": 8, "details": {"primary-key": "5985055", "object-type": "inetnum", "lookup-key": "82.208.88.232 - 82.208.88.239", "inetnum": "82.208.88.232 - 82.208.88.239", "netname": "ALFABANK-NN-NET", "descr": ["Personal network for OAO ALFA-BANK", "", ""], "country": ["RU"], "admin-c": ["VP1858-RIPE"], "tech-c": ["VP1858-RIPE"], "status": "ASSIGNED PA", "notify": ["[email protected]"], "mnt-by": ["NMTS-MNT"], "created": "2007-11-16T06:31:17Z", "last-modified": "2018-01-22T06:12:09Z"}}
```| Used flag | Description |
| --- | --- |
| `--details` | output results in JSON instead list of cidrs |
| `-vv` | debug |See more:
```bash
ripe-ip-search -h
```If you are looking for self-hosted ripe db search, you can try [this](https://github.com/s3rgeym/ripe-db-search).