Skip to content

Instantly share code, notes, and snippets.

View xtaran's full-sized avatar
😷
FFP3 + 4× vaccinated

Axel Beckert xtaran

😷
FFP3 + 4× vaccinated
View GitHub Profile
@smx-smx
smx-smx / XZ Backdoor Analysis
Last active February 26, 2025 01:17
[WIP] XZ Backdoor Analysis and symbol mapping
XZ Backdoor symbol deobfuscation. Updated as i make progress
@ecki
ecki / xz-backdoor.md
Last active October 5, 2024 08:03
Links about xz-utility/liblzma5 backdoor (CVE-2024-3094)
@thesamesam
thesamesam / xz-backdoor.md
Last active April 29, 2025 14:00
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

@githubfoam
githubfoam / tcpdump cheat sheet
Last active March 6, 2025 20:06
tcpdump cheat sheet
----------------------------------------------------------------------------------------------------
tcpdump -s 0 #capture entire etherner header and IP packet
tcpdump -ni tap55ec3c7f-91 ip6 #locate the ICMPv6 packets
tcpdump -s0 -n -i any -w /tmp/$(hostname)-smbtrace.pcap #if the SMB client or SMB server is a Unix host,Troubleshooting Server Message Block (SMB)
tcpdump -D #Print the list of the network interfaces available on the system and on which tcpdump can capture packet
tcpdump -X -vvv -n -i eth0
@thibaudcolas
thibaudcolas / owa.tracker.diff
Last active February 6, 2021 00:01
diff a/owa.tracker-combined-min-1.6.2.js b/owa-tgs.js (both run through Prettier first, after removing the extra closure around the whole TGS code)
diff --git a/owa.tracker-combined-min-1.6.2.js b/owa-tgs.js
index c718d10..2c5fd6e 100644
--- a/owa.tracker-combined-min-1.6.2.js
+++ b/owa-pretty.js
@@ -1,7 +1,3 @@
-/* OWA owa.tracker package file created Sun, 03 Jun 18 20:57:14 -0700 */
-
-/* Start of json2 */
-
if (!this.JSON) {
@probonopd
probonopd / Wayland.md
Last active May 5, 2025 11:03
Think twice about Wayland. It breaks everything!

Think twice before abandoning Xorg. Wayland breaks everything!

Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.

Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating everyone else (e.g., people using just an X11 window manager or something like GNUstep) in the process.


As 2024 is winding down:

@icyleaf
icyleaf / Wanyoo-yKeyboard-78-key.kbd.json
Last active May 2, 2020 22:42
Wanyoo yKeyboard 78 key
[
{
"backcolor": "#222222",
"name": "Wanyoo yKeyboard 78 key",
"author": "icyleaf",
"pcb": false
},
[
{
"c": "#282828",
@xtaran
xtaran / My-preferred-Tex-Yoda-II-Layout.kbd.json
Last active January 23, 2018 02:33
My preferred Tex Yoda II Layout
[
{
"name": "My preferred Tex Yoda II Layout",
"background": {
"name": "Aluminium brushed",
"style": "background-image: url('/bg/metal/aluminum_texture1642.jpg');"
},
"radii": "15px",
"switchMount": "cherry",
"switchBrand": "cherry",
@christophetd
christophetd / xor-ddos-decryption.py
Last active January 5, 2024 17:13
Tool to decrypt configuration values and network communications of malwares of the Xor Ddos family
import binascii
import itertools
# XORs two byte strings together
def xor_bytes(bytes1, bytes2):
return [ chr(ord(a) ^ b) for (a, b) in zip(bytes1, bytes2) ]
# XORs a ciphertext with the malware's hardcoded key, and repeats it until it's long enough to match the ciphertext length.
def decrypt(cipher, key_hex = 'BB2FA36AAA9541F0'):
key_bytes = [ ord(a) for a in key_hex ]
@muhammadghazali
muhammadghazali / What is server_names_hash_bucket_size.md
Last active March 11, 2025 03:56
Nginx: What is server_names_hash_bucket_size?

Background

While I'm learning how to use Nginx, I was instructed to update the server_names_hash_bucket_size (/etc/nginx/nginx.conf) value from 32 to 64, but I don't understand why should I increase the value to 64.

References

References that have been read so far: