2024-06-07 13:54:49 +00:00
|
|
|
# Python client and module to query the VARIoT IoT vulnerabilities and exploits databases
|
2024-06-07 09:07:52 +00:00
|
|
|
|
2024-06-07 13:54:49 +00:00
|
|
|
This is a Python client and module to query the [VARIoT IoT vulnerabilities and exploits databases](https://www.variotdbs.pl/api/).
|
2024-06-07 09:07:52 +00:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
```bash
|
2024-06-07 13:54:49 +00:00
|
|
|
pip install pyvariot
|
2024-06-07 09:07:52 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
### Command line
|
|
|
|
|
2024-06-07 14:16:16 +00:00
|
|
|
You can use the `pyvariot` command to query the database:
|
2024-06-07 09:07:52 +00:00
|
|
|
|
|
|
|
```bash
|
2024-06-07 14:16:16 +00:00
|
|
|
$ pyvariot --help
|
|
|
|
usage: pyvariot [-h] [--url URL] [--apikey APIKEY]
|
|
|
|
(--vulnerability_id VULNERABILITY_ID | --exploit_id EXPLOIT_ID)
|
|
|
|
|
|
|
|
Get a vulnerability or an exploit by ID.
|
|
|
|
|
|
|
|
options:
|
|
|
|
-h, --help show this help message and exit
|
|
|
|
--url URL URL of the instance.
|
|
|
|
--apikey APIKEY Your personal API key.
|
|
|
|
--vulnerability_id VULNERABILITY_ID
|
|
|
|
ID of the vulnerability.
|
|
|
|
--exploit_id EXPLOIT_ID
|
|
|
|
ID of the exploit.
|
|
|
|
|
2024-06-07 09:07:52 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### Library
|
|
|
|
|
2024-06-07 14:16:16 +00:00
|
|
|
See [API Reference](https://pyvariot.readthedocs.io/en/latest/api_reference.html)
|