meris-checker
meris-checker is a command which helps you determine whether or not your IP addresses are listed in the Qrator Labs database of meris botnet IPs.
Installation
Use the package manager pip to install meris-checker.
pip install meris-checker
Usage
There are two ways to use this script. The first is to create a file named ips.txt:
$ echo 127.0.0.1 >> ips.txt
$ echo 127.0.0.0/29 >> ips.txt
$ poetry run meris-checker
IP 127.0.0.1 is safe, whew!
IP 127.0.0.0 is safe, whew!
IP 127.0.0.1 is safe, whew!
IP 127.0.0.2 is safe, whew!
IP 127.0.0.3 is safe, whew!
IP 127.0.0.4 is safe, whew!
IP 127.0.0.5 is safe, whew!
IP 127.0.0.6 is safe, whew!
IP 127.0.0.7 is safe, whew!
The second is to specify the IPs one-at-a-time on the command line:
$ poetry run meris-checker 127.0.0.1 127.0.0.0/30
IP 127.0.0.1 is safe, whew!
IP 127.0.0.0 is safe, whew!
IP 127.0.0.1 is safe, whew!
IP 127.0.0.2 is safe, whew!
IP 127.0.0.3 is safe, whew!
This should work with any valid IPv4/IPv6 address or subnet. However, please be aware that it hits the Qrator API for each address in the subnet individually, so you should probably limit your lookups to narrow ranges that you actually own.
The script is rate-limited to 1 IP query per second, so a /24 will take ~6 minutes to run.
Contributing
Patches are welcome. Please email don@bloono.com
License
Metadata
Release files for meris-checker 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| meris-checker-1.1.0.tar.gz | 2.3 kB | Without provenance | Details for meris-checker-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| meris_checker-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for meris_checker-1.1.0-py3-none-any.whl |
Total release size: 4.9 kB
Release files / meris-checker-1.1.0.tar.gz
| Download URL | meris-checker-1.1.0.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e2522e5efdcde819f53f29329d29ee3b27377d73376a52f5fecda044114e492
|
|
BLAKE2b-256 checksum How to use checksums |
a4ed65bd586c107037372ef8da8245c22f3b2a332bc2bdf2cc6d70091fd2d2db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.10 CPython/3.9.5 Linux/5.11.0-31-generic
|
Release files / meris_checker-1.1.0-py3-none-any.whl
| Download URL | meris_checker-1.1.0-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
de34a3b3252655a006dcbf9dbb441807b25377f827a076a3b97c44b23839b319
|
|
BLAKE2b-256 checksum How to use checksums |
18d510a2384a5a883a2410e93c6a6cd1aa80f28ce2d2051303b69cacfb9bf7be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.10 CPython/3.9.5 Linux/5.11.0-31-generic
|
Security for meris-checker 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.