Closed HemanthJabalpuri closed 5 years ago
That’s exactly how dirtycow is suposed to work.
On 11 May 2019, at 04:59, HemanthJabalpuri notifications@github.com wrote:
Sir I successfully changed the prop value in /system/build.prop with cowpy.. But after reboot it resets to the original value....
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
@trufae
in build.sh, I think it is if ! [ -d "$T" ]; then
...
there should be not (!) right?
This path only exists in termux. And thats where the script is suposed to run. So the conditional is correct. For other platforms use the makefile
On 11 May 2019, at 13:05, HemanthJabalpuri notifications@github.com wrote:
@trufae in build.sh, I think it is if ! [ -d $T ]; then... there should be not (!) right?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
This path only exists in termux. And thats where the script is suposed to run. So the conditional is correct. For other platforms use the makefile … On 11 May 2019, at 13:05, HemanthJabalpuri @.***> wrote: @trufae in build.sh, I think it is if ! [ -d $T ]; then... there should be not (!) right? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
If there is no NOT(!) then it will exit in Termux.... according to my basic scripting...
fixed it, yes you are right
Sir @trufae I made a wrapper script for cowpy to correctly overwriting file which is less in size than destination file...
Can you submit it in a PR to review the changes?
On 12 May 2019, at 06:06, HemanthJabalpuri notifications@github.com wrote:
Sir @trufae I made a wrapper script for cowpy to correctly overwriting file which is less in size than destination file...
cowpy.sh.txt
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Can you submit it in a PR to review the changes?
Done.
Sir I successfully changed the prop value in /system/build.prop with cowpy.. But after reboot it resets to the original value....