DragonFlyBSD Kernel Audit
DF-2288 / run.sh
← back to finding ↓ download raw
#!/bin/sh
# DF-2288 run script.
# Prints the hardware-gate proof: no FireWire controller, no /dev/fw*.
echo "=== DF-2288 hardware gate ==="
echo "FireWire controller (fwohci) in pciconf:"
pciconf -l 2>&1 | grep -iE "fwohci|firewire|0c00|0e00" || echo "  (none)"
echo "/dev/fw* nodes:"
ls /dev/fw* 2>&1 || echo "  (none)"
echo "FireWire net interfaces:"
ifconfig -l 2>&1 | tr ' ' '\n' | grep -iE "fwip|fwe" || echo "  (none)"
echo "==> PoC cannot run: FW_ASYREQ/FW_GCROM ioctls require /dev/fw* which is absent."
exit 0