DF-0920 / build.sh
#!/bin/sh # build.sh - build the DF-0920 PoC # This builds the malicious NFS server (Python, no compilation needed) # and the mmap trigger (C). set -e cd "$(dirname "$0")" # Build the mmap trigger (if cc is available) if command -v cc >/dev/null 2>&1; then cc -o trigger_mmap trigger_mmap.c echo "Built trigger_mmap" fi echo "bad_nfs_server_v3.py is a Python script (no build needed)" echo "Build complete." |