Updated App Security (markdown)

dschuermann 2014-10-10 03:52:09 -07:00
parent 97fa2e02c2
commit 404b4d2ec5
1 changed files with 7 additions and 7 deletions

@ -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