This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/usr/bin/env bash | |
# If the logs contain duplicate entries, they should be ignored to avoid spamming the user | |
# with duplicate notifications. | |
IGNORE_DUPLICATES=true | |
# Keeps track of the journal for virus found events and manually invokes the VirusEvent | |
# script because of https://github.com/Cisco-Talos/clamav/issues/1062 | |
while IFS= read LINE;do | |
if [[ $LINE == *"FOUND"* ]]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# Get the output of the clamav-clamonacc service which is the OnAccessScan service and pipe it into | |
# the notifier script which will manually call the VirusEvent. | |
journalctl --follow -n 0 --output=cat -eu clamav-clamonacc | /opt/clamav/clamonacc-log-notifier.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# VirusEvent made by Yiannis Charalambous that exposes GUI actions to be taken against found | |
# signatures. | |
# | |
# Original Code: https://github.com/Cisco-Talos/clamav/issues/1062#issuecomment-1771546865 | |
PATH=/usr/bin | |
APP_NAME="ClamAV" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Author: Yiannis Charalambous | |
# Simple GUI for YT-DLP Downloading Music | |
import tkinter as tk | |
from tkinter import ttk | |
import pathlib | |
from subprocess import PIPE, STDOUT, run, CompletedProcess |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Expand page content and remove circular border. This was introduced in NX 26 | |
which added the theming options and updated the look. But this made it so there | |
is a big margin on the entire page. | |
Content of the app (not header) */ | |
#content-vue, #content { | |
margin-left: 0; | |
border-radius: 0; | |
left: 0; | |
right: 0; | |
margin-right: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Licence: GPLV3 | |
import requests | |
from bs4 import BeautifulSoup as soup | |
from sys import argv as argv | |
from time import sleep | |
def get_channel_id(url): |