20 lines
339 B
Makefile
20 lines
339 B
Makefile
|
|
all: install
|
|
|
|
build:
|
|
ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk APP_ABI=armeabi
|
|
|
|
install: build
|
|
mv libs/armeabi/libexploit.so ../../../../data/exploits/CVE-2014-3153.so
|
|
|
|
push: build
|
|
adb push libs/armeabi/debugexploit /data/local/tmp/futex
|
|
|
|
run: push
|
|
adb shell "/data/local/tmp/futex"
|
|
|
|
clean:
|
|
rm -rf libs
|
|
rm -rf obj
|
|
|