Skip to content

Instantly share code, notes, and snippets.

View AssassinK786's full-sized avatar
🎯
Focusing

Khush Vasudeo Patil AssassinK786

🎯
Focusing
View GitHub Profile
"""
31-round sha256 collision.
Not my research, just a PoC script I put together with numbers plugged in from the slide at
https://twitter.com/jedisct1/status/1772647350554464448 from FSE2024
SHA256 impl follows FIPS 180-4
https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf
"""
Item # Designator Qty Manufacturer Mfg Part # Description / Value Package/Footprint Type Your Instructions / Notes
1 C1, C2, C4, C5, C6, C7 6 KEMET C0603C104K5RAC3121 CAP 100NF 50V 0603 SMD
2 C3, C8 2 Taiyo Yuden TMK107BLD105KA-T CAP 1UF 25V 0603 SMD
3 C9, C11 2 KEMET C0603C220J5GAC3190 CAP 22PF 50V 0603 SMD
4 PC1, PC2 2 Panasonic
@ross-newman
ross-newman / QEMU PPC Setup for Debian
Last active May 2, 2025 15:22
Building PPC Linux code using QEMU on Ubuntu 18.04 LTS
#!/bin/bash
echo "Building Debina 10 QEMU instance..."
wget https://cdimage.debian.org/cdimage/ports/10.0/powerpc/iso-cd/debian-10.0-powerpc-NETINST-1.iso
sudo apt install qemu
# Create new disk for install
qemu-img create -f qcow2 debian10.qcow2 2000M
# Boot the install image
qemu-system-ppc -L pc-bios -boot d -M mac99 -m 1024 -net nic,model=sungem -net user -hda debian10.qcow2 -cdrom ./debian-10.0-powerpc-NETINST-1.iso -g 1024x768x8
# Run the image
qemu-system-ppc -L pc-bios -boot c -prom-env "boot-device=hd:,\yaboot" -prom-env "boot-args=conf=hd:,\yaboot.conf" \
@samm-git
samm-git / Dockerfile
Last active September 6, 2024 21:07
FreeBSD crossbuild with GCC on Linux host
FROM ubuntu:latest
RUN apt-get update
# install dependencies
RUN apt-get install --yes gcc g++ bison make wget xz-utils
# Compile binutils
RUN mkdir /build && cd /build && \
wget https://ftp.gnu.org/gnu/binutils/binutils-2.29.tar.xz && \
tar -xf binutils-2.29.tar.xz && cd binutils-2.29 && \