DragonFlyBSD Kernel Audit
DF-0610 / run.sh
← back to finding ↓ download raw
#!/bin/sh
# DF-0610 run — executes the trigger PoC.
# LATENT: this will compile and run, but it cannot reach the buggy
# NGM_NAT_PROXY_RULE handler because the netgraph7_nat module does not
# build/load on the current DragonFlyBSD master tree
# (sys/netinet/libalias/ absent; m_megapullup() undefined).
# Expected runtime behaviour on this guest: socket() or sendto() fails
# with ENOENT/ENODEV (no ng_nat node), demonstrating unreachability.
cd "$(dirname "$0")"
echo "+ ./poc"
./poc 2>&1
echo "RUN_EXIT=$?"