{"action":"created","issue":{"url":"https://api.github.com/repos/igrek51/android-dirtycowy-exploit/issues/1","repository_url":"https://api.github.com/repos/igrek51/android-dirtycowy-exploit","labels_url":"https://api.github.com/repos/igrek51/android-dirtycowy-exploit/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/igrek51/android-dirtycowy-exploit/issues/1/comments","events_url":"https://api.github.com/repos/igrek51/android-dirtycowy-exploit/issues/1/events","html_url":"https://github.com/igrek51/android-dirtycowy-exploit/issues/1","id":201039513,"number":1,"title":"how can i run it on android device?","user":{"login":"MatanTubul","id":7632384,"avatar_url":"https://avatars.githubusercontent.com/u/7632384?v=3","gravatar_id":"","url":"https://api.github.com/users/MatanTubul","html_url":"https://github.com/MatanTubul","followers_url":"https://api.github.com/users/MatanTubul/followers","following_url":"https://api.github.com/users/MatanTubul/following{/other_user}","gists_url":"https://api.github.com/users/MatanTubul/gists{/gist_id}","starred_url":"https://api.github.com/users/MatanTubul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatanTubul/subscriptions","organizations_url":"https://api.github.com/users/MatanTubul/orgs","repos_url":"https://api.github.com/users/MatanTubul/repos","events_url":"https://api.github.com/users/MatanTubul/events{/privacy}","received_events_url":"https://api.github.com/users/MatanTubul/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-16T14:53:58Z","updated_at":"2017-01-16T20:40:50Z","closed_at":null,"body":"i am trying to run it on termux bot got the following error:\r\n`error opening new_content_file`"},"comment":{"url":"https://api.github.com/repos/igrek51/android-dirtycowy-exploit/issues/comments/272957441","html_url":"https://github.com/igrek51/android-dirtycowy-exploit/issues/1#issuecomment-272957441","issue_url":"https://api.github.com/repos/igrek51/android-dirtycowy-exploit/issues/1","id":272957441,"user":{"login":"igrek51","id":12595017,"avatar_url":"https://avatars.githubusercontent.com/u/12595017?v=3","gravatar_id":"","url":"https://api.github.com/users/igrek51","html_url":"https://github.com/igrek51","followers_url":"https://api.github.com/users/igrek51/followers","following_url":"https://api.github.com/users/igrek51/following{/other_user}","gists_url":"https://api.github.com/users/igrek51/gists{/gist_id}","starred_url":"https://api.github.com/users/igrek51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igrek51/subscriptions","organizations_url":"https://api.github.com/users/igrek51/orgs","repos_url":"https://api.github.com/users/igrek51/repos","events_url":"https://api.github.com/users/igrek51/events{/privacy}","received_events_url":"https://api.github.com/users/igrek51/received_events","type":"User","site_admin":false},"created_at":"2017-01-16T20:40:50Z","updated_at":"2017-01-16T20:40:50Z","body":"First, you should compile it on your device architecture. You can do that with gcc on termux:\r\n1. Install gcc on termux:\r\n`apt install clang`\r\n2. Compile dirtycowy.c (in src/ folder):\r\n`gcc -pthread dirtycowy.c -o dirtycowy`\r\n\r\nThen you can run some test:\r\n create some file which will be overwritten: `echo 'readonly' > readonly`\r\nmake it read-only (ie. by root): `chmod 444 readonly`\r\ncheck if its read-only: `ls -l readonly`\r\ncreate some file with new data which overwrite the old file content: `echo 'dirtdirt' > dirty-data`\r\ncheck file content (you should see 'readonly'): `cat readonly`\r\nOVERWRITE: `dirtycowy overwrite readonly dirtdirt`\r\ncheck file content again (you should see 'dirtdirt'): `cat readonly`"}}
{"actor":{"display_login":"igrek51"}}