how to monitor system logs and export to files simultaneously
2024-08-25 05:28:06
What will you do when you conduct a malware analysis on a smartphone? You will focus on running processes or services, and also you'll capture memory dump and network packets for further analysis.
Of course you will keep an eye on the system logs. You want to real time monitor the logs but you will feel exhausted easily on doing this all day. If you want to real time monitor and export to files for further analysis, you could use adb logcat and pipe to a file on the workstation. The command is as below:
adb logcat | tee -a sys.log
Examine the log file and you could see someone logged into the smartphone at 14:07:20 through SSH, and the source ip was 172.20.10.3 .
最新文章
- 【NoSql】MongoDb
- EF架构~在global.asax里写了一个异常跳转,不错!
- webdriver的工作原理
- Hark的数据结构与算法练习之Bogo排序
- PHP 类的静态变量索引
- [原]Unity3D深入浅出 - 脚本开发基础(Scripts)
- HUNNU--湖师大--11409--Skill
- Program terminated with signal SIGKILL,Killed
- 「洛谷3338」「ZJOI2014」力【FFT】
- 2018-2019-3 网络对抗技术 20165305 Exp3 免杀原理与实践
- Git学习笔记——分支
- ubuntu16.04安装Navicate
- 小程序入口构造工具&;二维码测试工具
- PID控制器开发笔记之九:基于前馈补偿的PID控制器的实现
- VsCode基本使用
- Redis知识点总结
- 关于DLNA
- e793. 监听JSpinner数据变化
- Metasploit应用举例
- A* 寻路的八个变种