DragonFlyBSD Kernel Audit
DF-2271 / run.sh
← back to finding ↓ download raw
#!/bin/sh
# DF-2271 run.sh — no runnable PoC on this guest (gated).
# Gate: no /dev/ch* (no medium-changer target); trigger also needs a malicious SCSI changer
set -e
echo "DF-2271: gated on this guest — nothing to run."
echo "Gate proof:"; id
case "DF-2271" 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