DF-0802 / build.sh
#!/bin/sh # DF-0802 — build the BOOTP/DHCP malformed-option panic harness. # Faithful userspace replica of sys/vfs/nfs/bootp_subr.c :: bootpc_decode_reply() # with the 6 attacker-triggerable panic() sites. set -e cd "$(dirname "$0")" cc -O2 -Wall -o bootp_panic_harness bootp_panic_harness.c echo "built: bootp_panic_harness" |