Git Product home page Git Product logo

Comments (23)

trufae avatar trufae commented on June 2, 2024

from dirtycow.

MatanTubul avatar MatanTubul commented on June 2, 2024

@trufae
when i execute "make" i get the following error:

Package r_util was not found in the pkg-config search path.
Perhaps you should add the directory containing `r_util.pc'
to the PKG_CONFIG_PATH environment variable
No package 'r_util' found
Package r_io was not found in the pkg-config search path.
Perhaps you should add the directory containing `r_io.pc'
to the PKG_CONFIG_PATH environment variable
No package 'r_io' found
cc -shared -fPIC -o io_dirtycow.so io_dirtycow.c 
io_dirtycow.c:3:24: fatal error: r_userconf.h: No such file or directory
compilation terminated.
Makefile:10: recipe for target 'all' failed
make: *** [all] Error 1

from dirtycow.

trufae avatar trufae commented on June 2, 2024

from dirtycow.

MatanTubul avatar MatanTubul commented on June 2, 2024

do you know if this vulnerability should work on android 7.0

from dirtycow.

trufae avatar trufae commented on June 2, 2024

from dirtycow.

MatanTubul avatar MatanTubul commented on June 2, 2024

i do not know currently i have android 7.1.1 and other device with 7.0.

from dirtycow.

trufae avatar trufae commented on June 2, 2024

from dirtycow.

MatanTubul avatar MatanTubul commented on June 2, 2024

after i installed the plugin i run make command.
i push the cowpy into the device but i get the follwoing error:

/data/local/tmp/cowpy: not executable: 64-bit ELF file

there is a way to do it 32 bit?

from dirtycow.

MatanTubul avatar MatanTubul commented on June 2, 2024

when i click on make its creating an executable file for x86 and i need it for ARM architecture.
how can i modify it? in addition after i get the cowpy file what is the execution command that i should run on the device?

from dirtycow.

trufae avatar trufae commented on June 2, 2024

are you running this script inside Termux? this repo is suposed to be compiled in the target device itself. I have extended the README with a crosscompilation section

from dirtycow.

MatanTubul avatar MatanTubul commented on June 2, 2024

Ok
in order to run it on android device i should clone the radere2 repo and install it.
in addition you say i should clone the Termux repo?
i dont understand what should be done first in order to compile it?

from dirtycow.

trufae avatar trufae commented on June 2, 2024

from dirtycow.

MatanTubul avatar MatanTubul commented on June 2, 2024

now u run the build.sh within the termux and i get the following error:
screenshot_20170103-112309

from dirtycow.

trufae avatar trufae commented on June 2, 2024

from dirtycow.

MatanTubul avatar MatanTubul commented on June 2, 2024

when i use "make" i still get the same error.

i have another question:
can i get a root access with this exploit?
in addition how should i use the "cowpy" what is the destination and src inputs?

from dirtycow.

MatanTubul avatar MatanTubul commented on June 2, 2024

i execute cowpy with the following parameters:
./cowpy hosts /system/etc/hosts

the output id "Done" but the hosts file under etc has no changes

from dirtycow.

trufae avatar trufae commented on June 2, 2024

from dirtycow.

MatanTubul avatar MatanTubul commented on June 2, 2024

what do you mean "the number of iterations depend on the cpu and the system load"
maybe it depend on that i got the error which appear in the comment above?

from dirtycow.

trufae avatar trufae commented on June 2, 2024

from dirtycow.

MatanTubul avatar MatanTubul commented on June 2, 2024

yes i understand what is it, but i m not sure if i should customize the code in order to get it work on my device.

from dirtycow.

radare avatar radare commented on June 2, 2024

Please see the last two commits

from dirtycow.

KindlyOnes avatar KindlyOnes commented on June 2, 2024

now u run the build.sh within the termux and i get the following error:
screenshot_20170103-112309

Hi
Can you give me a guide on how to do this on android? I really would be very pleased.

from dirtycow.

trufae avatar trufae commented on June 2, 2024

from dirtycow.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.