Skip to main content

ripe-ip-search

Tool to search ip addresses using RIPE DB. It uses fulltext search API and help to find ip addresses owned by companies. Useful for port scanning and etc.

Installation:

# latest pypi version
pipx install ripe-ip-search

# latest github commit
pipx install --force git+https://github.com/s3rgeym/ripe-ip-search.git

Example:

❯ 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': ['VPypin@AlfaBank.ru'], '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": ["VPypin@AlfaBank.ru"], "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:

ripe-ip-search -h

If you are looking for self-hosted ripe db search, you can try this.

Metadata

Release files for ripe-ip-search 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ripe-ip-search 0.2.0
File Size Uploaded
ripe_ip_search-0.2.0.tar.gz 21.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ripe-ip-search 0.2.0
File Interpreter ABI Platform
ripe_ip_search-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 35.0 kB

Release files / ripe_ip_search-0.2.0.tar.gz

Download URL ripe_ip_search-0.2.0.tar.gz
Size 21.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0bd40322cc59e59f058e8e1b92685995536ad326773302087ccaaa40ee16aa76
BLAKE2b-256 checksum
How to use checksums
7fa51eb6ee94bdf224f219ec3ab285324796be94dd15412f9899a7039209b9a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / ripe_ip_search-0.2.0-py3-none-any.whl

Download URL ripe_ip_search-0.2.0-py3-none-any.whl
Size 13.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b236b520ddac58757e58cc0137c0b5fc90a5d4f71fb51dc55b0f163b9f2f07f2
BLAKE2b-256 checksum
How to use checksums
eb509196354e5f4856d2605b6c2e8dbe4607b4ce8ef845a9c503088b6255ea99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page