1 2 3 4 5 6 7
#!/bin/sh # DF-0603 — build the PoC. Standalone; uses <net/pf/pfvar.h>. # Run as: ./build.sh (from the PoC folder, after `kldload pf.ko`) set -e cd "$(dirname "$0")" cc -o pfleak pfleak.c echo "built: $(pwd)/pfleak"