⬢ DragonFlyBSD Kernel Audit
DF-3723 / build.sh
← back to finding ↓ download raw
1
2
3
4
5
#!/bin/sh
# DF-3723 build
set -e
cd "$(dirname "$0")"
ssh -F dfbsd-qemu/config dfbsd 'cat > /tmp/chksum_bounds_demo.c' < findings/poc/DF-3723/chksum_bounds_demo.c && dfbsd-qemu/vm.sh run_root 'cc -O2 -o /tmp/chksum_bounds_demo /tmp/chksum_bounds_demo.c'