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 June 2, 2024 07:22
[WIP] XZ Backdoor Analysis and symbol mapping
XZ Backdoor symbol deobfuscation. Updated as i make progress
@thesamesam
thesamesam / xz-backdoor.md
Last active June 27, 2024 15:18
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.

Background

On March 29th, 2024, a backdoor was discovered in xz-utils, a suite of software that

@githubfoam
githubfoam / tcpdump cheat sheet
Last active May 28, 2024 14:41
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 July 2, 2024 20:20
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.

The Wayland project seems to operate like they were starting a greenfield project, whereas at the same time they try to position Wayland as "the X11 successor", which would clearly require a lot of thought about not breaking, or at least providing a smooth upgrade path for, existing software.

In fact, it is merely an incompatible alternative, and not e

@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 February 9, 2024 14:13
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: