Skip to content

Instantly share code, notes, and snippets.

@george-hopkins
george-hopkins / gue.lua
Created November 7, 2023 11:52
Generic UDP Encapsulation (GUE) Dissector for Wireshark
local gue = Proto("gue", "Generic UDP Encapsulation")
local pf_variant = ProtoField.uint8("gue.variant", "Variant", base.DEC, nil, 0x3)
local pf_control = ProtoField.bool("gue.control", "Control Message", 8, nil, 0x4)
local pf_hlen = ProtoField.uint8("gue.hlen", "Header Length", base.DEC, nil, 0xf8)
local pf_proto = ProtoField.uint8("gue.proto", "Protocol", base.DEC)
local pf_flags = ProtoField.uint16("gue.flags", "Flags", base.HEX)
gue.fields = { pf_variant, pf_control, pf_hlen, pf_proto, pf_flags }
@george-hopkins
george-hopkins / HOWTO.md
Created June 14, 2018 09:34
Booting GParted Live with pixiecore

Booting GParted Live with pixiecore (PXE)

  • go get go.universe.tf/netboot/cmd/pixiecore
  • Download gparted-live-*.zip and extract the archive
  • sudo pixiecore boot ./live/vmlinuz ./live/initrd.img --cmdline='boot=live config components union=overlay username=user noswap noeject ip= vga=788 fetch={{ ID "./live/filesystem.squashfs" }}&_=fs.squashfs'
@george-hopkins
george-hopkins / APKBUILD
Created May 31, 2018 19:27
dhdutil for Alpine Linux
pkgname=dhdutil
pkgver=0.1_git20180531
pkgrel=0
_commit=ce8d5dc138698fde21a1132baa2de43da78d80e0
pkgdesc="Utility to manage Broadcom wireless cards"
url="https://github.com/george-hopkins/dhdutil"
arch="all"
license="ISC"
source="https://github.com/george-hopkins/${pkgname}/archive/${_commit}.tar.gz"
depends=""