DragonFlyBSD Kernel Audit
DF-2424 / run.sh
← back to finding ↓ download raw
#!/bin/sh
# DF-2424 run.sh — no runnable PoC on this guest (gated).
# Gate: no AMD 53c974 HBA (pciconf); amd module not loaded (kldstat)
set -e
echo "DF-2424: gated on this guest — nothing to run."
echo "Gate proof:"; id
case "DF-2424" in
  DF-2271) ls /dev/ch* 2>&1;;
  DF-2274) ls /dev/da* 2>&1;;
  DF-2281|DF-2282) ls -la /dev/sg0 2>&1;;
  DF-2411|DF-2415|DF-2424|DF-2428) kldstat | head -5; pciconf -l 2>&1 | grep -iE "0100|0101|0106" | head;;
esac
exit 0