DF-0362 / run.sh
#!/bin/sh # DF-0362 run script — REQUIRES ROOT (the only path to /dev/pf). # PF is a KLD module on DragonFly (not in X86_64_GENERIC); load it once. set -e cd "$(dirname "$0")" # One-time setup: create /dev/pf (root-only on a default install) if [ ! -e /dev/pf ]; then kldload pf fi # Optional: make the panic message land on serial & reboot instead of # dropping into DDB (cleaner capture). Harmless if oid is missing. sysctl debug.debugger_on_panic=0 2>/dev/null || true ./poc |