fsmon - iOS/OS X/Android/FirefoxOS/Linux系統中的文件監控器

jopen 8年前發布 | 26K 次閱讀 fsmon: monitor filesystem on iOS

fsmon

fsmon -  iOS/OS X/Android/FirefoxOS/Linux系統中的文件監控器。
FileSystem Monitor utility that runs on Linux, Android, iOS and OSX.

Brought to you by Sergi àlvarez at Nowsecure and distributed under the MIT license.

Contact: pancake@nowsecure.com

Usage

The tool retrieves file system events from a specific directory and shows them in colorful format or in JSON.

It is possible to filter the events happening from a specific program name or process id (PID).

$ ./fsmon -h
Usage: ./fsmon [-jc] [-a sec] [-b dir] [-p pid] [-P proc] [path]
 -a [sec]  stop monitoring after N seconds (alarm)
 -b [dir]  backup files to DIR folder (EXPERIMENTAL)
 -c        follow children of -p PID
 -h        show this help
 -j        output in JSON format
 -f        show only filename (no path)
 -p [pid]  only show events from this pid
 -P [proc] events only from process name
 -v        show version
 [path]    only get events from this path

Compilation

fsmon is a portable tool. It works on iOS, OSX, Linux and Android (x86, arm, arm64, mips)

  • Linux

    linux$ make

  • OSX + iOS fatbin

    osx$ make

  • Android

    $ make android NDK_ARCH=arm

in order to get fsmon installed system wide just use:

$ make install


項目地址: https://github.com/nowsecure/fsmon

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!