Skip to content

Commit

Permalink
🤺
Browse files Browse the repository at this point in the history
  • Loading branch information
idhyt committed Feb 20, 2023
1 parent 4c5d817 commit b12e228
Show file tree
Hide file tree
Showing 44 changed files with 14,805 additions and 0 deletions.
31 changes: 31 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk

.PHONY: clean
clean:
rm -rf obj libs

.PHONY: build
build: clean
@echo "\033[33m[+] Build for $(RS) \033[0m"
ndk-build RS=$(RS)

.PHONY: all
all:
mkdir -p rootz
make build RS=CVE-2017-8890/1001 && cp -rf libs/armeabi-v7a/rootz rootz/1001
make build RS=CVE-2017-8890/1002 && cp -rf libs/armeabi-v7a/rootz rootz/1002
make build RS=CVE-2017-8890/1003 && cp -rf libs/armeabi-v7a/rootz rootz/1003
make build RS=CVE-2017-8890/1004 && cp -rf libs/armeabi-v7a/rootz rootz/1004
make build RS=CVE-2017-9077/1010 && cp -rf libs/armeabi-v7a/rootz rootz/1010
make build RS=CVE-2015-1805/1021 && cp -rf libs/armeabi-v7a/rootz rootz/1021
make build RS=CVE-2015-1805/1022 && cp -rf libs/armeabi-v7a/rootz rootz/1022
make build RS=CVE-2016-5195/1051 && cp -rf libs/armeabi-v7a/rootz rootz/1051
make build RS=CVE-2015-3636/1041 && cp -rf libs/armeabi-v7a/rootz rootz/1041

install: build
adb shell rm -rf /data/local/tmp/rootz
adb push libs/armeabi-v7a/rootz /data/local/tmp

test: install
adb shell chmod 777 /data/local/tmp/rootz
adb shell /data/local/tmp/rootz
Loading

0 comments on commit b12e228

Please sign in to comment.