filemon does not work on iOS10? an alternative solution

Used for discussing the various tools in the book as well as encouraging members to share tools

filemon does not work on iOS10? an alternative solution

Postby backendbilly » Sat Feb 25, 2017 6:00 am

As it stands, filemon from http://newosxbook.com/files/filemon.tgz does not seem to function on iOS 10. In such cases I go old school and use rsync. I would initially take a snapshot of the file system before running an actual task. After that I take a second snapshot to identify new file system changes. Improvements are more than welcome here.

First, install rsync on your device from Cydia. This assumes you're using usbmuxd to SSH over USB otherwise use device IP address. I would use cert over password for auto login to avoid having to enter password every time.

Second, create a directory on your host machine to take snapshots. For example, "iOS10.x" and cd to it.

Third, on your host machine take an initial snapshot of the file system:
Code: Select all
rsync -aP root@localhost:/ .


Fourth, go ahead do your testing, make file system changes, run processes, etc.

Fifth, get a second snapshot. You can use dry-run to just get a file list without actually copying files:
Code: Select all
rsync -aPn root@localhost:/ .


Billy
backendbilly
Site Admin
 
Posts: 132
Joined: Fri May 29, 2015 5:58 pm

Re: filemon does not work on iOS10? an alternative solution

Postby morpheus » Sun Feb 26, 2017 2:36 am

errr. Filemon doesn't work on iOS 10? Worked for me on 10.1.1 and 10.2. Are you sure? What error did you get?
morpheus
Site Admin
 
Posts: 532
Joined: Thu Apr 11, 2013 6:24 pm

Re: filemon does not work on iOS10? an alternative solution

Postby backendbilly » Sun Feb 26, 2017 3:33 am

iPhone 7 with iOS 10.1.1

Code: Select all
oos-iPhone:~ root# ./filemon
kernel_task (PID:0) Not yet
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
(ARG of type 0, len 0)
....
Segmentation fault: 11
oos-iPhone:~
backendbilly
Site Admin
 
Posts: 132
Joined: Fri May 29, 2015 5:58 pm


Return to Tools

Who is online

Users browsing this forum: No registered users and 0 guests

cron