Notify via a webhook, in this case Discord, when ClamAV detects an infected file.

Notify via a webhook, in this case Discord, when ClamAV detects an infected file.

Tiempo de lectura: 2 minutos To set up notifications through Discord when ClamAV detects a virus, you can follow these general steps. Keep in mind that these steps are a guide and may require adjustments based on your specific environment and preferences. 1. Create a Discord Webhook: Open your Discord server and select the channel where you want to receive … Read more

Add ClamAV Antivirus for Analyzing Files and Docker Environments, Using Docker Compose

Add ClamAV Antivirus for Analyzing Files and Docker Environments, Using Docker Compose

Tiempo de lectura: 3 minutos ClamAV is an open-source program designed to detect viruses, malware, and other threats on Unix and Linux operating systems. Its name is an abbreviation of “Clam Antivirus.” Although it originated in the Linux environment, it is also compatible with other operating systems, including Windows and macOS. Here are some key aspects of ClamAV: Scanning Engine: … Read more

Encrypt a file and get it decrypted using FAST-API

Encrypt a file and get it decrypted using FAST-API

Tiempo de lectura: 2 minutos Today we are going to learn how to store an encrypted file and how to decrypt it to return it in a response. We will use the Fernet library. pip install cryptography First, let’s create an encryption key with Fernet. def generate_key(): key = Fernet.generate_key() return key.decode(‘utf-8’) With this function, we can obtain a random … Read more

Create a Redirection with Nginx Proxy Manager

Create a Redirection with Nginx Proxy Manager

Tiempo de lectura: < 1 minuto Today, we are going to learn how to create a redirection with Nginx Proxy Manager. Let’s assume that we want to redirect all traffic coming from myweb.com to www.myweb.com. First, we need to create our domain named myweb.com within Proxy Host: Now, open it and go to the Advanced section: And add the following within … Read more