2014-12-01 03:49:22 +00:00
|
|
|
|
|
|
|
all: install
|
|
|
|
|
|
|
|
build:
|
2016-11-06 14:33:24 +00:00
|
|
|
ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk APP_ABI=armeabi
|
2014-12-01 03:49:22 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|