A client to gather vulnerability-related information from the Fediverse.
Project description
FediVuln
A client to gather vulnerability-related information from the Fediverse.
Usage
Installation
pipx is an easy way to install and run Python applications in isolated environments. It's easy to install.
$ pipx install FediVuln
$ export FEDIVULN_CONFIG=~/.FediVuln/conf.py
The configuration for FediVuln should be defined in a Python file (e.g., ~/.FediVuln/conf.py
).
You must then set an environment variable (FEDIVULN_CONFIG
) with the full path to this file.
You can have a look at this example of configuration.
Register your application
$ FediVuln-Register
This script uses OAuth in order to retrieve the access token. This is achieved in several steps.
- Register the application with Mastodon instance, a including all necessary scopes
- Instantiate Mastodon client with client credentials
- Log in - Generate authorization URL with the exact same scopes
- Once the user authorizes, prompt for the authorization code
- Use the authorization code to retrieve the access token, with the same scopes
You only have to execute it once.
Streaming
$ FediVuln-Stream --user --sighting
Using the --sighting
argument, detected vulnerability IDs will be recorded in
Vulnerability Lookup as
sightings.
Publishing
WIP.
$ python publish.py
License
FediVuln is licensed under GNU General Public License version 3
Copyright (c) 2024 Computer Incident Response Center Luxembourg (CIRCL)
Copyright (C) 2024 Cédric Bonhomme - https://github.com/cedricbonhomme
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
Built Distribution
File details
Details for the file fedivuln-0.1.1.tar.gz
.
File metadata
- Download URL: fedivuln-0.1.1.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.11.4 Linux/6.1.0-26-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39150a958534a8ca810a7a16666a4998142c5226fd3434c761668c6b642dbc22 |
|
MD5 | 62f9361845c55160be4e4df261783db7 |
|
BLAKE2b-256 | 1b01b57457e407760dd45c080f8e2eb07b1faa61e0c6231fe9c7cad781873373 |
File details
Details for the file fedivuln-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: fedivuln-0.1.1-py3-none-any.whl
- Upload date:
- Size: 32.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.11.4 Linux/6.1.0-26-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b948af518cd43c2eba4ee2bca70865b0347ae671f1f3dee77ced944ca26b2a85 |
|
MD5 | 1d710d6f4df4c27104b231a6d9bad041 |
|
BLAKE2b-256 | f5c3b75a95c32d8fd244849d8b136660d236963a0d5ab8c814d40990cbc074bc |