timwr / CVE-2016-5195

CVE-2016-5195 (dirtycow/dirtyc0w) proof of concept for Android
959 stars 395 forks source link

Compiled native files aren't created!! #70

Closed NDerek closed 7 years ago

NDerek commented 7 years ago

@timwr @Manouchehri @AnwarMohamed @toxeus @0x454447415244 @mikemaksymowych @droidvoider

I had .png screenshots but github says 'Something went really wrong, and we can't process that file. Try again', i also compressed and tried to upload .zip and it says we don't support the file type...

So here's the issue... I m working on linux; downloaded & extracted the .zip and had all 8 files

then in terminal typed...

root@root:~/Desktop/Let/CVE-2016-5195-master# make root ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk APP_ABI=armeabi-v7a APP_PLATFORM=android-17 make: ndk-build: Command not found Makefile:8: recipe for target 'build' failed make: [build] Error 127 root@root:~/Desktop/Let/CVE-2016-5195-master# make armeabi-v7a make: No rule to make target 'armeabi-v7a'. Stop.

OOPS! NDK was missing, so i downloaded and extracted android-ndk-r14b for linux and copied dirty cow files inside NDK's folder i.e.

~/Desktop/Let/CVE-2016-5195-master/android-ndk-r14b

again in terminal typed...

root@root:~/Desktop/Let/CVE-2016-5195-master/android-ndk-r14b# make root adb push libs/armeabi-v7a/dirtycow /data/local/tmp/dcow adb: error: cannot stat 'libs/armeabi-v7a/dirtycow': No such file or directory Makefile: 11: recipe for target 'push' failed make: *** [push] Error 1

so i checked the current directory and other locations on computer for libs and obj folders and they doesn't exist/been created ......WHY?? i have no idea whether the source files are been compiled or not. NDK doesn't throw any error; tried to find out NDK log files, not found