I found many vulnerabilities but almost all of them require gcc which is not available on most of my target machines.
I was wondering if it's possible to run dirtycow without gcc installed or what is the alternative to do it?
I found many vulnerabilities but almost all of them require gcc which is not available on most of my target machines.
I was wondering if it's possible to run dirtycow without gcc installed or what is the alternative to do it?
The DirtyCOW PoC page contains a list of proof of concept exploits, including several that do not require GCC. There is one written in Go and even one which requires only an assembler. You can also analyze how the exploit works and implement it yourself in whatever language is available to you.
Unless i'm missing something... just compile it on another machine and copy it over? Although if you dont have access to a system with a compatible compiler then i suppose THAT is your problem. You do not strictly need gcc on the target.