From 404b4d2ec5cbf57339130467d2359953369b50fa Mon Sep 17 00:00:00 2001 From: dschuermann Date: Fri, 10 Oct 2014 03:52:09 -0700 Subject: [PATCH] Updated App Security (markdown) --- App-Security.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/App-Security.md b/App-Security.md index b055e42..6626d2b 100644 --- a/App-Security.md +++ b/App-Security.md @@ -43,17 +43,17 @@ Based on https://fluidnexus.net/blog/post/6 ```bash someuser@somehost platform-tools> ./adb shell $ su -# chmod 777 /data/misc -# ps +$ chmod 777 /data/misc +$ ps USER PID PPID VSIZE RSS WCHAN PC NAME [...snip...] -app_110 17973 2381 217088 24612 ffffffff afd0ee48 S org.thialfihar.android.apg +app_110 17973 2381 217088 24612 ffffffff afd0ee48 S org.sufficientlysecure.keychain shell 18061 2390 648 336 c031b39c afd0eafc S /system/bin/sh root 18062 18061 648 336 c031b39c afd0eafc S sh app_107 18064 2381 209388 15956 ffffffff afd0ee48 S com.noshufou.android.su root 18071 18062 796 336 00000000 afd0dbbc R ps -# kill -10 17973 -# ls /data/misc +$ kill -10 17973 +$ ls /data/misc bluetoothd bluetooth keystore @@ -64,8 +64,8 @@ wifi dhcp heap-dump-tm1313820900-pid16096.hprof heap-dump-tm1313854763-pid17973.hprof -# cp /data/misc/heap-dump-tm1313854763-pid17973.hprof /sdcard/ -# $ someuser@somehost platform-tools> ./adb pull /sdcard/heap-dump-tm1313854763-pid17973.hprof . +$ cp /data/misc/heap-dump-tm1313854763-pid17973.hprof /sdcard/ +$ someuser@somehost platform-tools> ./adb pull /sdcard/heap-dump-tm1313854763-pid17973.hprof . 2666 KB/s (4361160 bytes in 1.597s) someuser@somehost platform-tools> ../tools/hprof-conv heap-dump-tm1313854763-pid17973.hprof apg.hprof someuser@somehost platform-tools> jhat apg.hprof