2014-12-01 03:49:22 +00:00
|
|
|
|
|
|
|
all: install
|
|
|
|
|
|
|
|
build:
|
|
|
|
ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk
|
|
|
|
|
|
|
|
install: build
|
2016-10-19 05:17:33 +00:00
|
|
|
mv libs/armeabi/libexploit.so ../../../../data/exploits/CVE-2014-3153.so
|
2014-12-01 03:49:22 +00:00
|
|
|
|
2016-10-19 05:17:33 +00:00
|
|
|
push: build
|
|
|
|
adb push libs/armeabi/debugexploit /data/local/tmp/futex
|
|
|
|
|
|
|
|
run: push
|
|
|
|
adb shell "/data/local/tmp/futex"
|
2014-12-01 03:49:22 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf libs
|
|
|
|
rm -rf obj
|
|
|
|
|