项目地址
https://github.com/dpnishant/appmon/
部署踩坑
(1)项目releases为2018年的0.5版本,据说开始是python2.7现在变成了python3,所以需要安装的话,直接git clone项目
(2)部署过程中,requirements.txt内容
alembic==1.0.0
banal==0.3.7
chardet==3.0.4
Click==7.0
dataset==1.3.2
Flask==1.0.2
frida==12.2.6
htmlentities==0.2.1
itsdangerous==0.24
Jinja2==2.10
Mako==1.0.7
MarkupSafe==1.0
normality==0.6.1
python-dateutil==2.7.3
python-editor==1.0.3
six==1.11.0
SQLAlchemy==1.2.12
termcolor==1.1.0
Werkzeug==0.15.3
A.在安装时,出现:SQLAlchemyb版本yu与datasetb版本冲突的情况:
直接python -m pip install SQLAlchemy==1.3.2即可
B.安装htmlentities==0.2.1也报错:
解决:直接
python -m pip install htmlentities
安装后版本为htmlentities-0.3.0
最后成功运行:
C.报错DataTables warning: table id=tblResultView – Ajax error. For more information about this error, please see http://datatables.net/tn/7
DataTables warning: table id=tblResultView – Ajax error. For more information about this error, please see http://datatables.net/tn/7
文件中要求dataset==1.3.2,实测报错,安装dataset==1.1.2后正常
测试
1.模拟器或手机中先运行frida-server,参考:
2.先在模拟器或手机中运行测试对象apk:
3.再执行命令:
python37 appmon.py -p android -s scripts/Android -a 包名
4.结果:
http://127.0.0.1:5000/monitor/?app=com.github.shadowsocks
参考:
https://www.freebuf.com/news/120010.html
https://github.com/dpnishant/appmon/issues/99