Skip to content

Instantly share code, notes, and snippets.

@N3mes1s
N3mes1s / ANALYSIS.md
Last active April 21, 2026 08:36
CPU-Z 2.19 Supply Chain Attack Analysis (April 2026) - Trojanized DLL Sideloading with Zig-compiled CRYPTBASE.dll, IPv6-encoded .NET deserialization, MSBuild persistence

CPU-Z 2.19 Supply Chain Attack - Malware Analysis Report

Date: 2026-04-10 Analyst: nemesis Classification: Trojan / Backdoor (Alien RAT variant) Severity: CRITICAL Campaign ID: CityOfSin (extracted from C2 callback UTM parameters) Scope: CPUID official domain compromise affecting CPU-Z, HWMonitor, HWMonitor Pro, PerfMonitor 2, powerMAX + separately FileZilla Status: Breach confirmed and fixed by CPUID; site was compromised ~6 hours on April 9-10, 2026 CPUID Statement: "A secondary feature (a side API) was compromised for approximately six hours [...] causing the main website to randomly display malicious links. Our signed original files were not compromised."

@arch1t3cht
arch1t3cht / video_noob_guide.md
Last active May 8, 2026 14:33
What you NEED to know before touching a video file

What you NEED to Know Before Touching a Video File

Hanging out in subtitling and video re-editing communities, I see my fair share of novice video editors and video encoders, and see plenty of them make the classic beginner mistakes when it comes to working with videos. A man can only read "Use Handbrake to convert your mkv to an mp4 :)" so many times before losing it, so I am writing this article to channel the resulting psychic damage into something productive.

If you are new to working with videos (or, let's face it, even if you aren't), please read through this guide to avoid making mistakes that can cost you lots of time, computing power, storage space, or video quality.

@gavine99
gavine99 / proton-vpn-wireguard-downloader.py
Last active March 18, 2026 21:31
create proton wireguard vpn configurations
# Linux recipe:
# python3 -m venv proton-vpn-wireguard-downloader
# pushd proton-vpn-wireguard-downloader
# wget {{ zip url for this gist }} -O proton-vpn-wireguard-downloader.zip
# wget "https://github.com/ProtonVPN/python-proton-core/archive/refs/tags/v0.2.0.zip" -O python-proton-core-0.2.0.zip
# wget "https://github.com/ProtonVPN/python-proton-vpn-logger/archive/refs/tags/v0.2.1.zip" -O python-proton-vpn-logger.0.2.1.zip
# wget "https://github.com/ProtonVPN/python-proton-vpn-api-core/archive/refs/tags/v0.32.2.zip" -O python-proton-vpn-api-core.0.32.2.zip
# unzip -j proton-vpn-wireguard-downloader.zip
# unzip python-proton-core-0.2.0.zip
# unzip python-proton-vpn-logger.0.2.1.zip
@Dylancyclone
Dylancyclone / lrcget.py
Last active April 27, 2026 09:50
MusicBrainz Picard LRCLIB Lyrics Plugin
from functools import partial
from urllib.parse import (
quote,
urlencode,
)
from PyQt5.QtNetwork import QNetworkRequest
from picard import config, log
from picard.metadata import register_track_metadata_processor
@No767
No767 / 01-free-hosting-bad.md
Last active September 30, 2025 05:49
Explanation of why free hosts for Discord bots are bad

Why Free Hosting is Bad

Contact Noelle for any concerns or questions with this gist

When looking for hosting your bot, free services and/or providers that claim to support hosting Discord Bots. Do not use them. Why? Let me explain.

The Drawbacks

Free hosts are providers who specialize in offering an free platform to host projects.

@709924470
709924470 / create_hardlink_drag_here.bat
Last active February 11, 2024 16:40
Windows quick hardlink
@mttaggart
mttaggart / electron-versions.csv
Last active April 26, 2025 02:21
CVE-2023-4863 Electron App Tracker | THIS LIST IS NOW DEPRECATED. PLEASE VISIT https://github.com/mttaggart/electron-app-tracker FOR THE LATEST DATA
app_name repo electron_version vulnerable
1Clipboard https://github.com/wiziple/1clipboard
1Password None 25.8.1 FALSE
3CX Desktop App 19.0.8 TRUE
5EClient None
Abstract None
Account Surfer None
Advanced REST Client https://github.com/advanced-rest-client/arc-electron ^17.0.0 TRUE
Aedron Shrine None
Aeon https://github.com/leinelissen/aeon 23.2.0 TRUE
@muiz6
muiz6 / quantisation.py
Last active July 19, 2025 04:30
Image Quantisation
import numpy as np
from PIL import Image
IMG_PATH = "./assets/water.jpeg"
def quantise(pixelList, width, height):
pixels = np.array([(q(r), q(g), q(b)) for r, g, b in pixelList], dtype=np.uint8)
return pixels.reshape([height, width, 3])
@Rapptz
Rapptz / keepass.md
Last active September 3, 2025 13:59
Setting up KeePass

Setting Up KeePass

I frequently see discussions around which password manager to use. I personally use [KeePass][main]. This is an open source program that allows you to have control in your data. The database format is encrypted so as long as you keep your master password secure, the chance of someone getting access to your passwords is practically zero.

This document is just meant as a signpost to steer you in the right direction of how to set up KeePass across multiple operating systems and have your file synced in the cloud all while paying $0 and not having to set up a single server to do so.

Why KeePass?

You can skip this if you don't care

@The-Running-Dev
The-Running-Dev / Create Kavita Directory Structure
Last active October 1, 2025 04:16
Scans a directory of eBooks and creates a direcory and sub directories, with hard links to the actual eBooks.
<#
Save to: Create-Kavita-Structure.ps1
and run it with: .\Create-Kavita-Structure.ps1 -sourceDir 'DriveLetter:\PathToBooks' -kavitaDir 'DriveLetter:\PathToKavitaWatchedDir"
If sourceDir is not specified, assumes current directory (.)
If kavitaDir is not specified, assumes @Kavita under the current directory (.\@Kavita)
To test this without making any changes: Create-Kavita-Structure.ps1 -whatIf
#>
[CmdletBinding(SupportsShouldProcess = $true)]
Param(