1
0

Change example to CVE-2017-16995

This commit is contained in:
2018-10-07 21:15:34 +00:00
parent 29ae765c22
commit 0556088392
7 changed files with 503 additions and 24 deletions

View File

@ -6,18 +6,16 @@
# - Path to exploit binary
# - File that MUST be created with exploit. It uses for test that exploit works
# correctly.
# - VMLINUZ: path to vmlinuz
#
# e.g.:
# make KERNEL=/lib/modules/4.8.0-58-generic/build \
# TARGET=nyan-exploit \
# VMLINUZ=/boot/vmlinuz-4.8.0-58-generic
TARGET := CVE-2016-5195
TARGET := CVE-2017-16995
all:
gcc CVE-2016-5195.c -o $(TARGET)
gcc CVE-2016-5195_test.c -o $(TARGET)_test
gcc CVE-2017-16995.c -o $(TARGET)
cp test.sh $(TARGET)_test
clean:
rm -f $(TARGET) $(TARGET)_test