Skip to content

Instantly share code, notes, and snippets.

View preinpost's full-sized avatar

minsoo.lee preinpost

View GitHub Profile
# /// script
# dependencies = [
# "toml",
# "rich",
# ]
# ///
# To run the script use `uv run convert_pipfile_to_uv.py` (this way it automagically installs the dependencies)
import re
from pathlib import Path
@smx-smx
smx-smx / XZ Backdoor Analysis
Last active June 2, 2025 22:53
[WIP] XZ Backdoor Analysis and symbol mapping
XZ Backdoor symbol deobfuscation. Updated as i make progress
@si458
si458 / virt-customize-ubuntu24
Last active May 24, 2025 14:37
virt-customize ubuntu22
#!/bin/sh
# install tools
apt update -y && apt install nano wget curl libguestfs-tools -y
# remove old image
rm -rfv current/noble-server-cloudimg-amd64.img
# remove old template container - WILL DESTROY COMPLETELY
qm destroy 9000 --destroy-unreferenced-disks 1 --purge 1
# download new image
wget https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img
# add agent to image