Skip to content

Instantly share code, notes, and snippets.

@thesamesam
thesamesam / xz-backdoor.md
Last active April 25, 2024 23:45
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

@str4d
str4d / DemangleRust.py
Last active March 27, 2024 12:41
Ghidra script for demangling Rust symbols
# Attempts to demangle all mangled symbols in the current program using the Rust
# mangling schemes, and replace the default symbol and function signature
# (if applicable) with the demangled symbol.
#
# License: MIT OR Apache-2.0
#@author Jack Grigg <thestr4d@gmail.com>
#@category Symbol
import string
@tatianamac
tatianamac / tatiana-mac-boycott-list.md
Last active August 13, 2022 00:16
Tatiana Mac's Boycott List

Brands I Boycott and Why

An ever-evolving list of brands I boycott and why as well as the last date I supported them. I'll continue to update this list as I learn more and detach myself from the firm grip of big tech and corporatism.

I recognise, as a tech worker, that we've created quite the hydra, so detaching ourselves becomes much more complicated than it ever should be. I also recognise that like the capitalistic umbrella tech operates under, we are somewhat stuck using certain technologies (for example, I am writing this here on GitHub, which refuses to drop ICE as a contract.).

I am not perfect and recognise this can be seen as moralistic. I am doing this to share information that may help influence your decisions. They may not. That's up for you to decide.

My hope is to encourage everyone to be more thoughtful in how they vote with their wallets.

Helpful Websites

@stevecheckoway
stevecheckoway / notes.md
Created May 29, 2019 18:30
Installing Ghidra Server on Ubuntu 18.04.2 LTS

Installation on Ubuntu 18.04.2 LTS

  1. Install the jdk.

    $ sudo apt update
    $ sudo apt install default-jdk
    
  2. Create a new user.

@gtallen1187
gtallen1187 / slope_vs_starting.md
Created November 2, 2015 00:02
A little bit of slope makes up for a lot of y-intercept

"A little bit of slope makes up for a lot of y-intercept"

01/13/2012. From a lecture by Professor John Ousterhout at Stanford, class CS140

Here's today's thought for the weekend. A little bit of slope makes up for a lot of Y-intercept.

[Laughter]

@withzombies
withzombies / trustmemore
Created January 20, 2014 04:06
trustmemore
#!/usr/bin/env python
import os
import sys
import pwd
import random
import struct
import paramiko
import tempfile
import SocketServer
@withzombies
withzombies / TI-1337 exploit
Created January 20, 2014 03:58
TI-1337 exploit
#!/usr/bin/env python
import os
import sys
import socket
import struct
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
if len(sys.argv) > 1:
@ashelly
ashelly / getopt.c
Last active November 9, 2023 23:22
"Port of GNU getopt() to Win32 for anyone who's tired of dealing with getopt() calls in Unix-to-Windows ports." Ported by Pete Wilson. Recovered from the Internet Archive's snapshot of www.pwilson.net/sample.html.
/* Getopt for GNU.
NOTE: getopt is now part of the C library, so if you don't know what
"Keep this file name-space clean" means, talk to drepper@gnu.org
before changing it!
Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@yocontra
yocontra / CommandEncoder.java
Created September 23, 2013 22:50
Command Encoder for Brookstone Rover 2.0 TCP Protocol
package com.wificar.component;
import android.util.Log;
import com.wificar.WificarActivity;
import com.wificar.util.BlowFish;
import com.wificar.util.ByteUtility;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.nio.ByteBuffer;
import org.apache.http.util.ByteArrayBuffer;