18 lines
315 B
Makefile
18 lines
315 B
Makefile
|
|
all: install
|
|
|
|
build:
|
|
ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk
|
|
|
|
install: build
|
|
mv libs/armeabi/exploit ../../../../data/exploits/CVE-2014-3153.elf
|
|
|
|
test: build
|
|
adb push libs/armeabi/exploit /data/local/tmp/exploit
|
|
adb shell "cd /data/local/tmp; ./exploit id"
|
|
|
|
clean:
|
|
rm -rf libs
|
|
rm -rf obj
|
|
|