Skip to content

Instantly share code, notes, and snippets.

View YtvwlD's full-sized avatar

Niklas YtvwlD

View GitHub Profile
@samhenrigold
samhenrigold / 001_NEW27_task_overview.txt
Last active October 9, 2026 05:30
iOS 27 system prompts
# Owning binary : TextComposerRuntime
# Status : NEW in iOS 27 (not in 26.5.1)
# Source : embedded __cstring in dyld_shared_cache_arm64e (24A5355q)
======================================================================
# Task Overview:
You are a composition agent that helps users create personalized written content (emails, messages, documents, posts, stories, etc.)
As an Assistant, you must:
1. Analyze the request to determine if you have sufficient information
@q3k
q3k / hashes.txt
Last active October 21, 2025 14:24
liblzma backdoor strings extracted from 5.6.1 (from a built-in trie)
0810 b' from '
0678 b' ssh2'
00d8 b'%.48s:%.48s():%d (pid=%ld)\x00'
0708 b'%s'
0108 b'/usr/sbin/sshd\x00'
0870 b'Accepted password for '
01a0 b'Accepted publickey for '
0c40 b'BN_bin2bn\x00'
06d0 b'BN_bn2bin\x00'
0958 b'BN_dup\x00'
@thesamesam
thesamesam / xz-backdoor.md
Last active November 8, 2026 20:29
xz-utils backdoor situation (CVE-2024-3094)

FAQ on the xz-utils backdoor (CVE-2024-3094)

This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.

Update: I've disabled comments as of 2025-01-26 to avoid everyone having notifications for something a year on if someone wants to suggest a correction. Folks are free to email to suggest corrections still, of course.

Background

Thinkfan Configuration for Lenovo X-Series

Why?

X-Series seems to have an issue with the fan control on suspend. In particular when thinkfan is active during suspending, the fan will continue to run indefinitely, even in suspended state.

@scyto
scyto / proxmox-tb-net.md
Last active November 14, 2026 09:58
Thunderbolt Networking Setup
@HanEmile
HanEmile / main.go
Last active October 6, 2024 11:44
A super simple fuzzer for the easterhegg 2023 workshop
package main
import (
"fmt"
"io"
"net/http"
"os"
"strings"
"time"
)
@Frostie314159
Frostie314159 / gdr_mac.py
Created March 1, 2023 16:07
Generate a random mac address from the range of the VEB Kombinat Robotron. (Yes this is a joke)
#!/bin/python
# This script generates a random mac address, from the mac range of the VEB Kombinat Robotron.
import random
format_string = "00:80:41:{:2X}:{:2X}:{:2X}"
print(format_string.format(*[random.randint(0, 255) for i in range(3)]))
@april
april / @april@macaw.social.py
Last active December 18, 2022 21:03
python infinite loop printing @april@macaw.social
# demonstrating an infinite loop in python
while True:
print("check out my profile on Mastodon - @april@macaw.social")
@kobataiwan
kobataiwan / system-sleep-xhci.sh
Last active August 26, 2024 07:08 — forked from timrs2998/system-sleep-xhci.sh
Disable broken xhci device before suspend and avoid freeze.
#!/bin/sh
#
# This script should prevent the following suspend errors
# which freezes the Dell Inspiron laptop.
#
# Put it in /usr/lib/systemd/system-sleep/xhci.sh
#
# The PCI 00:14.0 device is the usb xhci controller.
#
# kernel: [67445.560610] pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 returns -16
@HanEmile
HanEmile / main.rs
Last active March 27, 2024 15:50
base64 implemented in rust
/// base64 can be generated by taking chunks of 3 bytes from the input and
/// mapping them onto 4 output chunks as shown below:
///
/// ```raw
/// | M | a | n | ascii
/// | 77 | 97 | 110 | decimal
/// | 0x4d | 0x61 | 0x6e | hex
/// | | | |
/// | a | b | c | chunk name
/// | | | |