Skip to main content

No project description provided

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ripe_ip_search-0.2.0.tar.gz (21.6 kB view hashes)

Uploaded Source

Built Distribution

ripe_ip_search-0.2.0-py3-none-any.whl (13.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page