Skip to content

Instantly share code, notes, and snippets.

View bettse's full-sized avatar

Eric Betts bettse

View GitHub Profile
@bettse
bettse / ld_pwdgen.c
Created November 30, 2023 18:42
ld_pwdgen.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#if defined(__APPLE__)
#include <libkern/OSByteOrder.h>
#define bswap_16(x) OSSwapInt16(x)
#define bswap_32(x) OSSwapInt32(x)
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
#if defined(__APPLE__)
#include <libkern/OSByteOrder.h>
#define bswap_16(x) OSSwapInt16(x)
#define bswap_32(x) OSSwapInt32(x)
#define bswap_64(x) OSSwapInt64(x)
@bettse
bettse / code.py
Created July 9, 2023 02:43
Minions Bubble research
import array
import pulseio
import board
import adafruit_irremote
import time
#from adafruit_circuitplayground import playground
HEADER_VAL = 6000
BLACK = (0, 0, 0)

Control LEDs with Mifare Classic

Set the contents of block 1 to control WS2812FX. Will revert to default after 5 minutes.

Format:

Prefix the block with WS2812FX and then provide preferred options: 57 53 32 38 31 32 46 58 MM CC CC CC CC SS SS RR

Mode (1 byte)

ROTHULT

Proxmark

hf search

UID : 02 E2 00 67 15 04 33
ATQA : 00 42
SAK : 20 [1]
@bettse
bettse / keybase.md
Created November 24, 2019 03:39
keybase.md

Keybase proof

I hereby claim:

  • I am bettse on github.
  • I am bettse (https://keybase.io/bettse) on keybase.
  • I have a public key whose fingerprint is D49E 4267 F792 3D35 6358 9B21 3E92 C5A7 F643 56BD

To claim this, I am signing this object: