#!/bin/sh
# DF-0074 build
set -e
cd "$(dirname "$0")"
cd findings/poc/DF-0074 && python3 build_gpt.py overflow.img && (scp -r . dfbsd-maxx:poc/DF-0074/); ssh dfbsd-maxx 'cd poc/DF-0074 && cc -O2 -o trigger trigger.c && cc -O2 -o trigger_stress trigger_stress.c'