1 2 3 4 5 6 7
#!/bin/sh # DF-2580 build — compile the PoC on the guest (as root; raw socket needed). # Run from the guest dir holding poc.c, or pass the source path. SRC="${1:-poc.c}" OUT="${2:-poc}" echo "+ cc -o $OUT $SRC" cc -o "$OUT" "$SRC"